diff options
| author | Tilka <tilkax@gmail.com> | 2022-08-05 00:03:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-05 00:03:25 +0100 |
| commit | e638bb658fa2bbaa6e46148816598fe3ab79dc6e (patch) | |
| tree | eaba3c58f47da6f3431b4a21938f35b4fc2d90b6 /Source/Core | |
| parent | 5508c52a952557728f6a594686e4b637fa2b2766 (diff) | |
| parent | 20a2a2174df74a307e8bc4eed35e5923dfa70bbd (diff) | |
Merge pull request #10945 from Pokechu22/vulkan-source-file-name
Vulkan: Call setSourceFile in addition to addSourceText
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/VideoCommon/Spirv.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Spirv.cpp b/Source/Core/VideoCommon/Spirv.cpp index 0fc22e1731..50c88c4faf 100644 --- a/Source/Core/VideoCommon/Spirv.cpp +++ b/Source/Core/VideoCommon/Spirv.cpp @@ -124,6 +124,7 @@ CompileShaderToSPV(EShLanguage stage, APIType api_type, if (g_ActiveConfig.bEnableValidationLayer) { // Attach the source code to the SPIR-V for tools like RenderDoc. + intermediate->setSourceFile(stage_filename); intermediate->addSourceText(pass_source_code, pass_source_code_length); options.generateDebugInfo = true; |
