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

@ -742,7 +742,7 @@ protected:
void TrimTexturePool();
bool CompileGLSLShaderToVulkanSpv(GPUShaderStage stage, GPUShaderLanguage source_language, std::string_view source,
const char* entry_point, bool nonsemantic_debug_info,
const char* entry_point, bool optimization, bool nonsemantic_debug_info,
DynamicHeapArray<u8>* out_binary, Error* error);
bool TranslateVulkanSpvToLanguage(const std::span<const u8> spirv, GPUShaderStage stage,
GPUShaderLanguage target_language, u32 target_version, std::string* output,