diff --git a/tests/shader_runner.c b/tests/shader_runner.c index f3b6972f..4a44e3c9 100644 --- a/tests/shader_runner.c +++ b/tests/shader_runner.c @@ -2088,9 +2088,13 @@ static IDxcCompiler3 *dxcompiler_create(void) { DxcCreateInstanceProc create_instance; IDxcCompiler3 *compiler; + const char *skip_dxc; HRESULT hr; void *dll; + if ((skip_dxc = getenv("VKD3D_TESTS_SKIP_DXC")) && strcmp(skip_dxc, "") != 0) + return NULL; + dll = vkd3d_dlopen(SONAME_LIBDXCOMPILER); ok(dll, "Failed to load dxcompiler library, %s.\n", vkd3d_dlerror()); if (!dll)