dawn-cmake/test/tint/var/initialization/private/array/array_i32.wgsl.expected.glsl

15 lines
319 B
GLSL

#version 310 es
int zero[2][3] = int[2][3](int[3](0, 0, 0), int[3](0, 0, 0));
int init[2][3] = int[2][3](int[3](1, 2, 3), int[3](4, 5, 6));
void tint_symbol() {
int v0[2][3] = zero;
int v1[2][3] = init;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol();
return;
}