diff --git a/renderdoc/driver/d3d12/d3d12_shader_cache.cpp b/renderdoc/driver/d3d12/d3d12_shader_cache.cpp index e3d798521d..c1008fc5c1 100644 --- a/renderdoc/driver/d3d12/d3d12_shader_cache.cpp +++ b/renderdoc/driver/d3d12/d3d12_shader_cache.cpp @@ -493,6 +493,7 @@ rdcstr D3D12ShaderCache::GetShaderBlob(const char *source, const char *entry, uint32_t flags = DXBC::DecodeFlags(compileFlags) & ~D3DCOMPILE_NO_PRESHADER; rdcarray argsData; DXBC::EncodeDXCFlags(flags, argsData); + argsData.push_back(L"-select-validator internal"); rdcarray arguments; for(const rdcwstr &arg : argsData) arguments.push_back(arg.c_str());