mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 21:28:32 +09:00
[Fix] (Diligent/Shader): Rename glsl builtins for Vulkan.
This commit is contained in:
@@ -371,6 +371,7 @@ namespace MG_Diligent {
|
||||
|
||||
shaderSource = MG_Util::Program::BindInputLayoutLocationsForGLSL(spirv,
|
||||
programObj.attribLocations);
|
||||
MG_Util::Program::RenameGLSLBuiltinsForVulkan(shaderSource);
|
||||
} else {
|
||||
shaderSource = it->second.source;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user