blob: 451711eb4c4afdb421a71ee7dff54f98906c0661 [file] [log] [blame]
Stephen White2fe0f4b2021-11-16 15:15:36 +00001#version 310 es
Stephen White2fe0f4b2021-11-16 15:15:36 +00002
Stephen White2fe0f4b2021-11-16 15:15:36 +00003void f() {
4 ivec3 a = ivec3(1, 2, 3);
Antonio Maioranoe14a27b2022-09-19 14:05:21 +00005 int b = 4;
6 ivec3 r = (a + b);
Stephen White2fe0f4b2021-11-16 15:15:36 +00007}
Stephen Whitee2f35ba2022-01-26 16:48:55 +00008
Stephen White0b392702022-01-28 22:36:58 +00009layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
Stephen White2fe0f4b2021-11-16 15:15:36 +000010void main() {
11 f();
Stephen White0b392702022-01-28 22:36:58 +000012 return;
Stephen White2fe0f4b2021-11-16 15:15:36 +000013}