GPUDevice: Fix transpiled interface linking with OpenGL

This commit is contained in:
Stenzek
2024-06-23 23:39:56 +10:00
parent b8ed013ec3
commit 6bfd862cb3
4 changed files with 40 additions and 6 deletions

View File

@ -58,7 +58,7 @@ std::unique_ptr<GPUShader> VulkanDevice::CreateShaderFromSource(GPUShaderStage s
DynamicHeapArray<u8> local_binary;
DynamicHeapArray<u8>* dest_binary = out_binary ? out_binary : &local_binary;
if (!CompileGLSLShaderToVulkanSpv(stage, language, source, entry_point,
if (!CompileGLSLShaderToVulkanSpv(stage, language, source, entry_point, !m_debug_device,
m_optional_extensions.vk_khr_shader_non_semantic_info, dest_binary, error))
{
return {};