James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 1 | SKIP: FAILED |
| 2 | |
| 3 | #version 310 es |
| 4 | |
| 5 | layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; |
| 6 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 7 | vec4 inner; |
| 8 | } prevent_dce; |
| 9 | |
| 10 | void textureLoad_fd9606() { |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 11 | vec4 res = imageLoad(arg_0, ivec3(uvec3(uvec2(1u), uint(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_fd9606(); |
| 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; |
Ben Clayton | 448c01b | 2024-02-28 00:23:17 +0000 | [diff] [blame] | 37 | precision highp int; |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 38 | |
| 39 | layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; |
| 40 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 41 | vec4 inner; |
| 42 | } prevent_dce; |
| 43 | |
| 44 | void textureLoad_fd9606() { |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 45 | vec4 res = imageLoad(arg_0, ivec3(uvec3(uvec2(1u), uint(1)))); |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 46 | prevent_dce.inner = res; |
| 47 | } |
| 48 | |
| 49 | void fragment_main() { |
| 50 | textureLoad_fd9606(); |
| 51 | } |
| 52 | |
| 53 | void main() { |
| 54 | fragment_main(); |
| 55 | return; |
| 56 | } |
Stephen White | d2eb05c | 2023-10-16 20:34:20 +0000 | [diff] [blame] | 57 | error: Error parsing GLSL shader: |
Ben Clayton | 448c01b | 2024-02-28 00:23:17 +0000 | [diff] [blame] | 58 | ERROR: 0:11: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter |
| 59 | ERROR: 0:11: '' : compilation terminated |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 60 | ERROR: 2 compilation errors. No code generated. |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 61 | |
| 62 | |
| 63 | |
| 64 | #version 310 es |
| 65 | |
| 66 | layout(rgba8_snorm) uniform highp writeonly image2DArray arg_0; |
| 67 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 68 | vec4 inner; |
| 69 | } prevent_dce; |
| 70 | |
| 71 | void textureLoad_fd9606() { |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 72 | vec4 res = imageLoad(arg_0, ivec3(uvec3(uvec2(1u), uint(1)))); |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 73 | prevent_dce.inner = res; |
| 74 | } |
| 75 | |
| 76 | void compute_main() { |
| 77 | textureLoad_fd9606(); |
| 78 | } |
| 79 | |
| 80 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 81 | void main() { |
| 82 | compute_main(); |
| 83 | return; |
| 84 | } |
Stephen White | d2eb05c | 2023-10-16 20:34:20 +0000 | [diff] [blame] | 85 | error: Error parsing GLSL shader: |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 86 | 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] | 87 | ERROR: 0:9: '' : compilation terminated |
Stephen White | 243017b | 2023-09-25 16:36:31 +0000 | [diff] [blame] | 88 | ERROR: 2 compilation errors. No code generated. |
James Price | d90c72b | 2023-08-11 00:45:54 +0000 | [diff] [blame] | 89 | |
| 90 | |
| 91 | |