Vulkan GLSL shaders in OpenGL

Viewed 79

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.

layout(std140) uniform u_Test
{
    vec4 test;
} _34;

Will this shader work in OpenGL? If not is there a way to convert from this format to something else so it can be loaded in OpenGL?

1 Answers
Related