James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
| 3 | #version 310 es |
| 4 | |
| 5 | layout(rgba8) uniform highp writeonly image3D arg_0; |
| 6 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 7 | vec4 inner; |
| 8 | } prevent_dce; |
| 9 | |
| 10 | void textureLoad_012e11() { |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 11 | vec4 res = imageLoad(arg_0, ivec3(1)); |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 12 | prevent_dce.inner = res; |
| 13 | } |
| 14 | |
| 15 | vec4 vertex_main() { |
| 16 | textureLoad_012e11(); |
| 17 | return vec4(0.0f); |
| 18 | } |
| 19 | |
| 20 | void main() { |
| 21 | gl_PointSize = 1.0; |
| 22 | vec4 inner_result = vertex_main(); |
| 23 | gl_Position = inner_result; |
| 24 | gl_Position.y = -(gl_Position.y); |
| 25 | gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); |
| 26 | return; |
| 27 | } |
Stephen White | d2eb05c | 2023-10-16 20:34:20 +0000 | [diff] [blame] | 28 | error: Error parsing GLSL shader: |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 29 | ERROR: 0:9: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 30 | ERROR: 0:9: '' : compilation terminated |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 31 | ERROR: 2 compilation errors. No code generated. |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 32 | |
| 33 | |
| 34 | |
| 35 | #version 310 es |
| 36 | precision highp float; |
| 37 | |
| 38 | layout(rgba8) uniform highp writeonly image3D arg_0; |
| 39 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 40 | vec4 inner; |
| 41 | } prevent_dce; |
| 42 | |
| 43 | void textureLoad_012e11() { |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 44 | vec4 res = imageLoad(arg_0, ivec3(1)); |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 45 | prevent_dce.inner = res; |
| 46 | } |
| 47 | |
| 48 | void fragment_main() { |
| 49 | textureLoad_012e11(); |
| 50 | } |
| 51 | |
| 52 | void main() { |
| 53 | fragment_main(); |
| 54 | return; |
| 55 | } |
Stephen White | d2eb05c | 2023-10-16 20:34:20 +0000 | [diff] [blame] | 56 | error: Error parsing GLSL shader: |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 57 | ERROR: 0:10: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 58 | ERROR: 0:10: '' : compilation terminated |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 59 | ERROR: 2 compilation errors. No code generated. |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 60 | |
| 61 | |
| 62 | |
| 63 | #version 310 es |
| 64 | |
| 65 | layout(rgba8) uniform highp writeonly image3D arg_0; |
| 66 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 67 | vec4 inner; |
| 68 | } prevent_dce; |
| 69 | |
| 70 | void textureLoad_012e11() { |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 71 | vec4 res = imageLoad(arg_0, ivec3(1)); |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 72 | prevent_dce.inner = res; |
| 73 | } |
| 74 | |
| 75 | void compute_main() { |
| 76 | textureLoad_012e11(); |
| 77 | } |
| 78 | |
| 79 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 80 | void main() { |
| 81 | compute_main(); |
| 82 | return; |
| 83 | } |
Stephen White | d2eb05c | 2023-10-16 20:34:20 +0000 | [diff] [blame] | 84 | error: Error parsing GLSL shader: |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 85 | ERROR: 0:9: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 86 | ERROR: 0:9: '' : compilation terminated |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 87 | ERROR: 2 compilation errors. No code generated. |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 88 | |
| 89 | |
| 90 | |