mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08: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;
|
||||
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))
|
||||
return;
|
||||
device = runner.test_context.device;
|
||||
|
Loading…
Reference in New Issue
Block a user