mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-03 00:28:28 +00:00
af9ab5f743
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31137 e7fa87d3-cd2b-0410-9028-fcbf551c1848
15 lines
296 B
GLSL
15 lines
296 B
GLSL
#version 310 es
|
|
|
|
// Check name mangling of functions with parameters that are multi-dimensional arrays.
|
|
|
|
#define NX 2
|
|
#define NY 3
|
|
#define NZ 4
|
|
void f(bool a, float b, uint[4] c, int[NY][NX] d) {
|
|
}
|
|
|
|
void main() {
|
|
int[NY][NX] d;
|
|
f(false, 12.1, uint[NZ](uint(0),uint(1),uint(1),uint(2)), d);
|
|
}
|