tests/shader_runner_d3d11: Direct3D 11 supports geometry shaders.

This commit is contained in:
Henri Verbeet
2025-05-18 22:27:52 +02:00
parent 0a28abd8f6
commit 5581c42a79
Notes: Henri Verbeet 2025-05-27 21:08:57 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1513

View File

@@ -306,6 +306,7 @@ static BOOL init_test_context(struct d3d11_shader_runner *runner)
&doubles, sizeof(doubles));
ok(hr == S_OK, "Failed to check double precision feature support, hr %#lx.\n", hr);
runner->caps.shader_caps[SHADER_CAP_FLOAT64] = doubles.DoublePrecisionFloatShaderOps;
runner->caps.shader_caps[SHADER_CAP_GEOMETRY_SHADER] = true;
hr = ID3D11Device_CheckFeatureSupport(runner->device,
D3D11_FEATURE_D3D11_OPTIONS2, &options2, sizeof(options2));