mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
tests/shader_runner: Skip the DXIL tests when DXIL support is not enabled.
This commit is contained in:
parent
94af1754dd
commit
a4262c3836
Notes:
Henri Verbeet
2024-09-24 14:11:16 +02:00
Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1109
@ -1059,6 +1059,15 @@ static void run_shader_tests_for_model_range(void *dxc_compiler,
|
|||||||
ID3D12Device *device;
|
ID3D12Device *device;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
|
|
||||||
|
#ifndef VKD3D_SHADER_UNSUPPORTED_DXIL
|
||||||
|
if (minimum_shader_model >= SHADER_MODEL_6_0)
|
||||||
|
{
|
||||||
|
skip("DXIL support is not enabled. If this is unintentional, "
|
||||||
|
"add -DVKD3D_SHADER_UNSUPPORTED_DXIL to CPPFLAGS.\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!init_test_context(&runner.test_context, &desc))
|
if (!init_test_context(&runner.test_context, &desc))
|
||||||
return;
|
return;
|
||||||
device = runner.test_context.device;
|
device = runner.test_context.device;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user