Files
filament/third_party/glslang/Test/glsl.140.layoutOffset.error.vert
Mathias Agopian 538f497d4d update glslang to version 15.4.0
add a nicer script to update
2025-08-11 15:44:28 -07:00

15 lines
205 B
GLSL

#version 140
layout (std140) uniform UBO // offset can't use under version 140
{
layout(offset = 0) vec4 a;
};
in vec4 in_vs;
out vec4 out_vs;
void main()
{
out_vs = in_vs + a;
}