mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-10 21:28:32 +09:00
[Fix] (MG_State/Program): fixing discrapencies between builtins of Vulkan and OpenGL GLSL (gl_VertexID/gl_VertexIndex)
This commit is contained in:
@@ -494,6 +494,10 @@ namespace MG_Diligent {
|
||||
}
|
||||
|
||||
MG_Util::Program::GenerateDefaultUBOForGLSL_Multi(shaderSourcesMap, programInfo.uniformBufferNames);
|
||||
MG_Util::Debug::LogD("ConfigureResourceLayout: uniformBufferNames for %u:", programInfo.id);
|
||||
for (auto& name: programInfo.uniformBufferNames) {
|
||||
MG_Util::Debug::LogD(" %s", name.c_str());
|
||||
}
|
||||
|
||||
for (auto shaderId : programInfo.AttachedShadersID) {
|
||||
auto shader = MG_Diligent::g_ShaderMap[shaderId];
|
||||
|
||||
Reference in New Issue
Block a user