blob: 086b00afd357296f1ebb870cc598677c92f342e4 [file] [log] [blame]
Ben Claytonc0af5c52022-06-02 14:36:10 +00001SKIP: FAILED
2
3#version 310 es
4
Stephen White1d04cf82023-01-07 17:19:21 +00005layout(rg32i) uniform highp writeonly iimage2D arg_0;
Ben Claytonc0af5c52022-06-02 14:36:10 +00006void textureStore_d73b5c() {
7 int arg_1 = 1;
Stephen White987902e2022-12-15 16:42:28 +00008 ivec4 arg_2 = ivec4(1);
Stephen White1d04cf82023-01-07 17:19:21 +00009 imageStore(arg_0, ivec2(arg_1, 0), arg_2);
Ben Claytonc0af5c52022-06-02 14:36:10 +000010}
11
12vec4 vertex_main() {
13 textureStore_d73b5c();
14 return vec4(0.0f);
15}
16
17void main() {
18 gl_PointSize = 1.0;
19 vec4 inner_result = vertex_main();
20 gl_Position = inner_result;
21 gl_Position.y = -(gl_Position.y);
22 gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w);
23 return;
24}
Stephen Whited2eb05c2023-10-16 20:34:20 +000025error: Error parsing GLSL shader:
Ben Claytonc0af5c52022-06-02 14:36:10 +000026ERROR: 0:3: 'image load-store format' : not supported with this profile: es
27ERROR: 0:3: '' : compilation terminated
28ERROR: 2 compilation errors. No code generated.
29
30
31
32#version 310 es
Stephen White11e786e2023-08-24 22:01:10 +000033precision highp float;
Ben Clayton448c01b2024-02-28 00:23:17 +000034precision highp int;
Ben Claytonc0af5c52022-06-02 14:36:10 +000035
Stephen White1d04cf82023-01-07 17:19:21 +000036layout(rg32i) uniform highp writeonly iimage2D arg_0;
Ben Claytonc0af5c52022-06-02 14:36:10 +000037void textureStore_d73b5c() {
38 int arg_1 = 1;
Stephen White987902e2022-12-15 16:42:28 +000039 ivec4 arg_2 = ivec4(1);
Stephen White1d04cf82023-01-07 17:19:21 +000040 imageStore(arg_0, ivec2(arg_1, 0), arg_2);
Ben Claytonc0af5c52022-06-02 14:36:10 +000041}
42
43void fragment_main() {
44 textureStore_d73b5c();
45}
46
47void main() {
48 fragment_main();
49 return;
50}
Stephen Whited2eb05c2023-10-16 20:34:20 +000051error: Error parsing GLSL shader:
Ben Clayton448c01b2024-02-28 00:23:17 +000052ERROR: 0:5: 'image load-store format' : not supported with this profile: es
53ERROR: 0:5: '' : compilation terminated
Ben Claytonc0af5c52022-06-02 14:36:10 +000054ERROR: 2 compilation errors. No code generated.
55
56
57
58#version 310 es
59
Stephen White1d04cf82023-01-07 17:19:21 +000060layout(rg32i) uniform highp writeonly iimage2D arg_0;
Ben Claytonc0af5c52022-06-02 14:36:10 +000061void textureStore_d73b5c() {
62 int arg_1 = 1;
Stephen White987902e2022-12-15 16:42:28 +000063 ivec4 arg_2 = ivec4(1);
Stephen White1d04cf82023-01-07 17:19:21 +000064 imageStore(arg_0, ivec2(arg_1, 0), arg_2);
Ben Claytonc0af5c52022-06-02 14:36:10 +000065}
66
67void compute_main() {
68 textureStore_d73b5c();
69}
70
71layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
72void main() {
73 compute_main();
74 return;
75}
Stephen Whited2eb05c2023-10-16 20:34:20 +000076error: Error parsing GLSL shader:
Ben Claytonc0af5c52022-06-02 14:36:10 +000077ERROR: 0:3: 'image load-store format' : not supported with this profile: es
78ERROR: 0:3: '' : compilation terminated
79ERROR: 2 compilation errors. No code generated.
80
81
82