Question:
I’m using a shader transpiler tool called ‘glslcc’ and it supports transpiling into glsl. However I think the GLSL outputs are Vulkan GLSL since it contains things like the following but I might be wrong.Thank you.
Answer:
This is a Uniform Block that can of course be used with OpenGL (see also Uniform Buffer Object). There is no Vulkan exclusive declaration in this code. The Layout Qualifierstd140
was introduced with OpenGL 3.1. See The OpenGL® Shading Language, Version 4.60.7.If you have better answer, please add a comment about this, thank you!