mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
tests: Add some tests for rasteriser-ordered views.
This commit is contained in:
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
@@ -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));
|
||||
|
Reference in New Issue
Block a user