Files
filament/third_party/glslang/Test/spv.funcall.array.frag
Mathias Agopian 538f497d4d update glslang to version 15.4.0
add a nicer script to update
2025-08-11 15:44:28 -07:00

18 lines
162 B
GLSL

#version 450 core
uniform ub {
vec4 u[9];
};
vec4 f(const vec4 a[9], int ix) {
return a[ix];
}
out vec4 color;
void main()
{
color = f(u, 2);
}