[Fix] (Diligent/PSO): Try to bind input layout locations for GLSL.

This commit is contained in:
BZLZHH
2025-06-09 13:38:16 +08:00
parent 30b7f4d69d
commit 2fb0690804
5 changed files with 186 additions and 48 deletions
+3
View File
@@ -182,6 +182,9 @@ namespace MG_Util::Program {
std::string>& glslSources);
void GenerateDefaultUBOForGLSL_Multi(
MG_Global::unordered_map<GLuint, std::string> &shaderSources, std::vector<std::string>& outUniformBufferNames);
std::string BindInputLayoutLocationsForGLSL(const std::vector<uint32_t>& spirv,
const MG_Global::unordered_map<std::string, GLint>&
name_location_map);
}
#endif //MOBILEGL_GLSLTOOL_H