Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 1 | #version 310 es |
| 2 | |
| 3 | uniform highp isampler2DArray arg_1_arg_2; |
| 4 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 5 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 6 | ivec4 inner; |
| 7 | } prevent_dce; |
| 8 | |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 9 | void textureGather_9ab41e() { |
Ben Clayton | 4b60615 | 2022-11-04 17:06:03 +0000 | [diff] [blame] | 10 | ivec4 res = textureGatherOffset(arg_1_arg_2, vec3(vec2(1.0f), float(1)), ivec2(1), int(1u)); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 11 | prevent_dce.inner = res; |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | vec4 vertex_main() { |
| 15 | textureGather_9ab41e(); |
| 16 | return vec4(0.0f); |
| 17 | } |
| 18 | |
| 19 | void main() { |
| 20 | gl_PointSize = 1.0; |
| 21 | vec4 inner_result = vertex_main(); |
| 22 | gl_Position = inner_result; |
| 23 | gl_Position.y = -(gl_Position.y); |
| 24 | gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); |
| 25 | return; |
| 26 | } |
| 27 | #version 310 es |
Ben Clayton | f1f56b2 | 2023-03-09 19:58:23 +0000 | [diff] [blame] | 28 | precision highp float; |
Stephen White | ca9f386 | 2024-02-07 18:08:23 +0000 | [diff] [blame] | 29 | precision highp int; |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 30 | |
| 31 | uniform highp isampler2DArray arg_1_arg_2; |
| 32 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 33 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 34 | ivec4 inner; |
| 35 | } prevent_dce; |
| 36 | |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 37 | void textureGather_9ab41e() { |
Ben Clayton | 4b60615 | 2022-11-04 17:06:03 +0000 | [diff] [blame] | 38 | ivec4 res = textureGatherOffset(arg_1_arg_2, vec3(vec2(1.0f), float(1)), ivec2(1), int(1u)); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 39 | prevent_dce.inner = res; |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 40 | } |
| 41 | |
| 42 | void fragment_main() { |
| 43 | textureGather_9ab41e(); |
| 44 | } |
| 45 | |
| 46 | void main() { |
| 47 | fragment_main(); |
| 48 | return; |
| 49 | } |
| 50 | #version 310 es |
| 51 | |
| 52 | uniform highp isampler2DArray arg_1_arg_2; |
| 53 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 54 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 55 | ivec4 inner; |
| 56 | } prevent_dce; |
| 57 | |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 58 | void textureGather_9ab41e() { |
Ben Clayton | 4b60615 | 2022-11-04 17:06:03 +0000 | [diff] [blame] | 59 | ivec4 res = textureGatherOffset(arg_1_arg_2, vec3(vec2(1.0f), float(1)), ivec2(1), int(1u)); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 60 | prevent_dce.inner = res; |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | void compute_main() { |
| 64 | textureGather_9ab41e(); |
| 65 | } |
| 66 | |
| 67 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 68 | void main() { |
| 69 | compute_main(); |
| 70 | return; |
| 71 | } |