First Commit
This commit is contained in:
17
externals/glslang/Test/spv.funcall.array.frag
vendored
Normal file
17
externals/glslang/Test/spv.funcall.array.frag
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user