+#ifdef VKD3D_CROSSTEST +static const char *HLSL_COMPILER = "d3dcompiler47.dll"; +static const char *SHADER_RUNNER = "d3d12.dll"; +#else +static const char *HLSL_COMPILER = "vkd3d-shader"; +static const char *SHADER_RUNNER = "vkd3d"; +#endif
Ideally these would be declared like this: ```c static const char HLSL_COMPILER[] = "d3dcompiler47.dll"; ```
In principle I wouldn't hold the MR for this, particularly since this is shader runner code instead of actual library code, but this MR happens to conflict with one of the other MRs going in today.