4 // require_extensions: GL_ARB_compute_shader
8 #extension GL_ARB_compute_shader: enable
10 #define DECL(q, t) q t t##_v; q t t##_va[2]
11 #define DECL_234(q, t) DECL(q, t##2); DECL(q, t##3); DECL(q, t##4)
13 #define DECL_VARS(q) \
36 layout(local_size_x = 1) in;
40 uint_va[1] = s2i.sa[1].uint_va[1];
41 s1i.mat4_va[1] = mat4_v;
42 s2i.sa[1].vec4_va[0] = s1i.mat4_va[1][3];
43 s2i.s.mat2_va[1][1][0] = float_v;