tests: Add some tests for rasteriser-ordered views.

This commit is contained in:
Evan Tang
2023-10-13 16:35:12 -05:00
committed by Alexandre Julliard
parent f614d98759
commit 628acb6b96
Notes: Alexandre Julliard 2024-02-14 23:28:07 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/651
12 changed files with 421 additions and 0 deletions

View File

@@ -117,6 +117,9 @@ static bool d3d12_runner_check_requirements(struct shader_runner *r)
if (runner->r.require_int64 && !runner->options1.Int64ShaderOps)
return false;
if (runner->r.require_rov && !runner->options.ROVsSupported)
return false;
return true;
}
@@ -652,6 +655,7 @@ void run_shader_tests_d3d12(void *dxc_compiler)
&runner.options, sizeof(runner.options));
ok(hr == S_OK, "Failed to check feature options support, hr %#x.\n", hr);
trace("DoublePrecisionFloatShaderOps: %u.\n", runner.options.DoublePrecisionFloatShaderOps);
trace("ROVsSupported: %u.\n", runner.options.ROVsSupported);
hr = ID3D12Device_CheckFeatureSupport(device, D3D12_FEATURE_D3D12_OPTIONS1,
&runner.options1, sizeof(runner.options1));