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