mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
tests/shader_runner: Print a summary of the runner capabilities in run_shader_tests().
This commit is contained in:
committed by
Alexandre Julliard
parent
930fbcbb26
commit
f15a0ace3e
Notes:
Alexandre Julliard
2024-02-19 23:00:22 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/658
@@ -281,13 +281,11 @@ static BOOL init_test_context(struct d3d11_shader_runner *runner)
|
||||
hr = ID3D11Device_CheckFeatureSupport(runner->device, D3D11_FEATURE_DOUBLES,
|
||||
&doubles, sizeof(doubles));
|
||||
ok(hr == S_OK, "Failed to check double precision feature support, hr %#lx.\n", hr);
|
||||
trace("DoublePrecisionFloatShaderOps: %u.\n", doubles.DoublePrecisionFloatShaderOps);
|
||||
runner->caps.float64 = doubles.DoublePrecisionFloatShaderOps;
|
||||
|
||||
hr = ID3D11Device_CheckFeatureSupport(runner->device,
|
||||
D3D11_FEATURE_D3D11_OPTIONS2, &options2, sizeof(options2));
|
||||
ok(hr == S_OK, "Got hr %#lx.\n", hr);
|
||||
trace("ROVsSupported: %u.\n", options2.ROVsSupported);
|
||||
runner->caps.rov = options2.ROVsSupported;
|
||||
|
||||
rt_width = RENDER_TARGET_WIDTH;
|
||||
|
||||
Reference in New Issue
Block a user