Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 1 | #version 310 es |
| 2 | |
Ben Clayton | 2657b92 | 2023-03-08 22:29:38 +0000 | [diff] [blame] | 3 | vec3 tint_select(vec3 param_0, vec3 param_1, bvec3 param_2) { |
| 4 | return vec3(param_2[0] ? param_1[0] : param_0[0], param_2[1] ? param_1[1] : param_0[1], param_2[2] ? param_1[2] : param_0[2]); |
| 5 | } |
| 6 | |
| 7 | |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 8 | struct GammaTransferParams { |
| 9 | float G; |
| 10 | float A; |
| 11 | float B; |
| 12 | float C; |
| 13 | float D; |
| 14 | float E; |
| 15 | float F; |
| 16 | uint padding; |
| 17 | }; |
| 18 | |
| 19 | struct ExternalTextureParams { |
| 20 | uint numPlanes; |
| 21 | uint doYuvToRgbConversionOnly; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 22 | uint pad; |
| 23 | uint pad_1; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 24 | mat3x4 yuvToRgbConversionMatrix; |
| 25 | GammaTransferParams gammaDecodeParams; |
| 26 | GammaTransferParams gammaEncodeParams; |
| 27 | mat3 gamutConversionMatrix; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 28 | mat3x2 coordTransformationMatrix; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 29 | uint pad_2; |
| 30 | uint pad_3; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 31 | }; |
| 32 | |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 33 | struct ExternalTextureParams_std140 { |
| 34 | uint numPlanes; |
| 35 | uint doYuvToRgbConversionOnly; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 36 | uint pad; |
| 37 | uint pad_1; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 38 | mat3x4 yuvToRgbConversionMatrix; |
| 39 | GammaTransferParams gammaDecodeParams; |
| 40 | GammaTransferParams gammaEncodeParams; |
| 41 | mat3 gamutConversionMatrix; |
| 42 | vec2 coordTransformationMatrix_0; |
| 43 | vec2 coordTransformationMatrix_1; |
| 44 | vec2 coordTransformationMatrix_2; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 45 | uint pad_2; |
| 46 | uint pad_3; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 47 | }; |
| 48 | |
| 49 | layout(binding = 2, std140) uniform ext_tex_params_block_std140_ubo { |
| 50 | ExternalTextureParams_std140 inner; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 51 | } ext_tex_params; |
| 52 | |
| 53 | vec3 gammaCorrection(vec3 v, GammaTransferParams params) { |
| 54 | bvec3 cond = lessThan(abs(v), vec3(params.D)); |
| 55 | vec3 t = (sign(v) * ((params.C * abs(v)) + params.F)); |
| 56 | vec3 f = (sign(v) * (pow(((params.A * abs(v)) + params.B), vec3(params.G)) + params.E)); |
Ben Clayton | 2657b92 | 2023-03-08 22:29:38 +0000 | [diff] [blame] | 57 | return tint_select(f, t, cond); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | vec4 textureLoadExternal(highp sampler2D plane0_1, highp sampler2D plane1_1, uvec2 coord, ExternalTextureParams params) { |
jchen10 | 39b7330 | 2023-02-23 13:03:52 +0000 | [diff] [blame] | 61 | uvec2 coord1 = (coord >> uvec2(1u)); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 62 | vec3 color = vec3(0.0f, 0.0f, 0.0f); |
| 63 | if ((params.numPlanes == 1u)) { |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 64 | color = texelFetch(plane0_1, ivec2(coord), 0).rgb; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 65 | } else { |
jchen10 | 39b7330 | 2023-02-23 13:03:52 +0000 | [diff] [blame] | 66 | color = (vec4(texelFetch(plane0_1, ivec2(coord), 0).r, texelFetch(plane1_1, ivec2(coord1), 0).rg, 1.0f) * params.yuvToRgbConversionMatrix); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 67 | } |
| 68 | if ((params.doYuvToRgbConversionOnly == 0u)) { |
| 69 | color = gammaCorrection(color, params.gammaDecodeParams); |
| 70 | color = (params.gamutConversionMatrix * color); |
| 71 | color = gammaCorrection(color, params.gammaEncodeParams); |
| 72 | } |
| 73 | return vec4(color, 1.0f); |
| 74 | } |
| 75 | |
| 76 | uniform highp sampler2D arg_0_1; |
| 77 | uniform highp sampler2D ext_tex_plane_1_1; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 78 | ExternalTextureParams conv_ExternalTextureParams(ExternalTextureParams_std140 val) { |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 79 | return ExternalTextureParams(val.numPlanes, val.doYuvToRgbConversionOnly, val.pad, val.pad_1, val.yuvToRgbConversionMatrix, val.gammaDecodeParams, val.gammaEncodeParams, val.gamutConversionMatrix, mat3x2(val.coordTransformationMatrix_0, val.coordTransformationMatrix_1, val.coordTransformationMatrix_2), val.pad_2, val.pad_3); |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 80 | } |
| 81 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 82 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 83 | vec4 inner; |
| 84 | } prevent_dce; |
| 85 | |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 86 | void textureLoad_1bfdfb() { |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 87 | vec4 res = textureLoadExternal(arg_0_1, ext_tex_plane_1_1, uvec2(1u), conv_ExternalTextureParams(ext_tex_params.inner)); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 88 | prevent_dce.inner = res; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 89 | } |
| 90 | |
| 91 | vec4 vertex_main() { |
| 92 | textureLoad_1bfdfb(); |
| 93 | return vec4(0.0f); |
| 94 | } |
| 95 | |
| 96 | void main() { |
| 97 | gl_PointSize = 1.0; |
| 98 | vec4 inner_result = vertex_main(); |
| 99 | gl_Position = inner_result; |
| 100 | gl_Position.y = -(gl_Position.y); |
| 101 | gl_Position.z = ((2.0f * gl_Position.z) - gl_Position.w); |
| 102 | return; |
| 103 | } |
| 104 | #version 310 es |
Ben Clayton | f1f56b2 | 2023-03-09 19:58:23 +0000 | [diff] [blame] | 105 | precision highp float; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 106 | |
Ben Clayton | 2657b92 | 2023-03-08 22:29:38 +0000 | [diff] [blame] | 107 | vec3 tint_select(vec3 param_0, vec3 param_1, bvec3 param_2) { |
| 108 | return vec3(param_2[0] ? param_1[0] : param_0[0], param_2[1] ? param_1[1] : param_0[1], param_2[2] ? param_1[2] : param_0[2]); |
| 109 | } |
| 110 | |
| 111 | |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 112 | struct GammaTransferParams { |
| 113 | float G; |
| 114 | float A; |
| 115 | float B; |
| 116 | float C; |
| 117 | float D; |
| 118 | float E; |
| 119 | float F; |
| 120 | uint padding; |
| 121 | }; |
| 122 | |
| 123 | struct ExternalTextureParams { |
| 124 | uint numPlanes; |
| 125 | uint doYuvToRgbConversionOnly; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 126 | uint pad; |
| 127 | uint pad_1; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 128 | mat3x4 yuvToRgbConversionMatrix; |
| 129 | GammaTransferParams gammaDecodeParams; |
| 130 | GammaTransferParams gammaEncodeParams; |
| 131 | mat3 gamutConversionMatrix; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 132 | mat3x2 coordTransformationMatrix; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 133 | uint pad_2; |
| 134 | uint pad_3; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 135 | }; |
| 136 | |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 137 | struct ExternalTextureParams_std140 { |
| 138 | uint numPlanes; |
| 139 | uint doYuvToRgbConversionOnly; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 140 | uint pad; |
| 141 | uint pad_1; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 142 | mat3x4 yuvToRgbConversionMatrix; |
| 143 | GammaTransferParams gammaDecodeParams; |
| 144 | GammaTransferParams gammaEncodeParams; |
| 145 | mat3 gamutConversionMatrix; |
| 146 | vec2 coordTransformationMatrix_0; |
| 147 | vec2 coordTransformationMatrix_1; |
| 148 | vec2 coordTransformationMatrix_2; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 149 | uint pad_2; |
| 150 | uint pad_3; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 151 | }; |
| 152 | |
| 153 | layout(binding = 2, std140) uniform ext_tex_params_block_std140_ubo { |
| 154 | ExternalTextureParams_std140 inner; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 155 | } ext_tex_params; |
| 156 | |
| 157 | vec3 gammaCorrection(vec3 v, GammaTransferParams params) { |
| 158 | bvec3 cond = lessThan(abs(v), vec3(params.D)); |
| 159 | vec3 t = (sign(v) * ((params.C * abs(v)) + params.F)); |
| 160 | vec3 f = (sign(v) * (pow(((params.A * abs(v)) + params.B), vec3(params.G)) + params.E)); |
Ben Clayton | 2657b92 | 2023-03-08 22:29:38 +0000 | [diff] [blame] | 161 | return tint_select(f, t, cond); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 162 | } |
| 163 | |
| 164 | vec4 textureLoadExternal(highp sampler2D plane0_1, highp sampler2D plane1_1, uvec2 coord, ExternalTextureParams params) { |
jchen10 | 39b7330 | 2023-02-23 13:03:52 +0000 | [diff] [blame] | 165 | uvec2 coord1 = (coord >> uvec2(1u)); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 166 | vec3 color = vec3(0.0f, 0.0f, 0.0f); |
| 167 | if ((params.numPlanes == 1u)) { |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 168 | color = texelFetch(plane0_1, ivec2(coord), 0).rgb; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 169 | } else { |
jchen10 | 39b7330 | 2023-02-23 13:03:52 +0000 | [diff] [blame] | 170 | color = (vec4(texelFetch(plane0_1, ivec2(coord), 0).r, texelFetch(plane1_1, ivec2(coord1), 0).rg, 1.0f) * params.yuvToRgbConversionMatrix); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 171 | } |
| 172 | if ((params.doYuvToRgbConversionOnly == 0u)) { |
| 173 | color = gammaCorrection(color, params.gammaDecodeParams); |
| 174 | color = (params.gamutConversionMatrix * color); |
| 175 | color = gammaCorrection(color, params.gammaEncodeParams); |
| 176 | } |
| 177 | return vec4(color, 1.0f); |
| 178 | } |
| 179 | |
| 180 | uniform highp sampler2D arg_0_1; |
| 181 | uniform highp sampler2D ext_tex_plane_1_1; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 182 | ExternalTextureParams conv_ExternalTextureParams(ExternalTextureParams_std140 val) { |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 183 | return ExternalTextureParams(val.numPlanes, val.doYuvToRgbConversionOnly, val.pad, val.pad_1, val.yuvToRgbConversionMatrix, val.gammaDecodeParams, val.gammaEncodeParams, val.gamutConversionMatrix, mat3x2(val.coordTransformationMatrix_0, val.coordTransformationMatrix_1, val.coordTransformationMatrix_2), val.pad_2, val.pad_3); |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 184 | } |
| 185 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 186 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 187 | vec4 inner; |
| 188 | } prevent_dce; |
| 189 | |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 190 | void textureLoad_1bfdfb() { |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 191 | vec4 res = textureLoadExternal(arg_0_1, ext_tex_plane_1_1, uvec2(1u), conv_ExternalTextureParams(ext_tex_params.inner)); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 192 | prevent_dce.inner = res; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 193 | } |
| 194 | |
| 195 | void fragment_main() { |
| 196 | textureLoad_1bfdfb(); |
| 197 | } |
| 198 | |
| 199 | void main() { |
| 200 | fragment_main(); |
| 201 | return; |
| 202 | } |
| 203 | #version 310 es |
| 204 | |
Ben Clayton | 2657b92 | 2023-03-08 22:29:38 +0000 | [diff] [blame] | 205 | vec3 tint_select(vec3 param_0, vec3 param_1, bvec3 param_2) { |
| 206 | return vec3(param_2[0] ? param_1[0] : param_0[0], param_2[1] ? param_1[1] : param_0[1], param_2[2] ? param_1[2] : param_0[2]); |
| 207 | } |
| 208 | |
| 209 | |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 210 | struct GammaTransferParams { |
| 211 | float G; |
| 212 | float A; |
| 213 | float B; |
| 214 | float C; |
| 215 | float D; |
| 216 | float E; |
| 217 | float F; |
| 218 | uint padding; |
| 219 | }; |
| 220 | |
| 221 | struct ExternalTextureParams { |
| 222 | uint numPlanes; |
| 223 | uint doYuvToRgbConversionOnly; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 224 | uint pad; |
| 225 | uint pad_1; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 226 | mat3x4 yuvToRgbConversionMatrix; |
| 227 | GammaTransferParams gammaDecodeParams; |
| 228 | GammaTransferParams gammaEncodeParams; |
| 229 | mat3 gamutConversionMatrix; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 230 | mat3x2 coordTransformationMatrix; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 231 | uint pad_2; |
| 232 | uint pad_3; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 233 | }; |
| 234 | |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 235 | struct ExternalTextureParams_std140 { |
| 236 | uint numPlanes; |
| 237 | uint doYuvToRgbConversionOnly; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 238 | uint pad; |
| 239 | uint pad_1; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 240 | mat3x4 yuvToRgbConversionMatrix; |
| 241 | GammaTransferParams gammaDecodeParams; |
| 242 | GammaTransferParams gammaEncodeParams; |
| 243 | mat3 gamutConversionMatrix; |
| 244 | vec2 coordTransformationMatrix_0; |
| 245 | vec2 coordTransformationMatrix_1; |
| 246 | vec2 coordTransformationMatrix_2; |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 247 | uint pad_2; |
| 248 | uint pad_3; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 249 | }; |
| 250 | |
| 251 | layout(binding = 2, std140) uniform ext_tex_params_block_std140_ubo { |
| 252 | ExternalTextureParams_std140 inner; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 253 | } ext_tex_params; |
| 254 | |
| 255 | vec3 gammaCorrection(vec3 v, GammaTransferParams params) { |
| 256 | bvec3 cond = lessThan(abs(v), vec3(params.D)); |
| 257 | vec3 t = (sign(v) * ((params.C * abs(v)) + params.F)); |
| 258 | vec3 f = (sign(v) * (pow(((params.A * abs(v)) + params.B), vec3(params.G)) + params.E)); |
Ben Clayton | 2657b92 | 2023-03-08 22:29:38 +0000 | [diff] [blame] | 259 | return tint_select(f, t, cond); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 260 | } |
| 261 | |
| 262 | vec4 textureLoadExternal(highp sampler2D plane0_1, highp sampler2D plane1_1, uvec2 coord, ExternalTextureParams params) { |
jchen10 | 39b7330 | 2023-02-23 13:03:52 +0000 | [diff] [blame] | 263 | uvec2 coord1 = (coord >> uvec2(1u)); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 264 | vec3 color = vec3(0.0f, 0.0f, 0.0f); |
| 265 | if ((params.numPlanes == 1u)) { |
Ben Clayton | 2e376a9 | 2022-10-26 18:47:02 +0000 | [diff] [blame] | 266 | color = texelFetch(plane0_1, ivec2(coord), 0).rgb; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 267 | } else { |
jchen10 | 39b7330 | 2023-02-23 13:03:52 +0000 | [diff] [blame] | 268 | color = (vec4(texelFetch(plane0_1, ivec2(coord), 0).r, texelFetch(plane1_1, ivec2(coord1), 0).rg, 1.0f) * params.yuvToRgbConversionMatrix); |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 269 | } |
| 270 | if ((params.doYuvToRgbConversionOnly == 0u)) { |
| 271 | color = gammaCorrection(color, params.gammaDecodeParams); |
| 272 | color = (params.gamutConversionMatrix * color); |
| 273 | color = gammaCorrection(color, params.gammaEncodeParams); |
| 274 | } |
| 275 | return vec4(color, 1.0f); |
| 276 | } |
| 277 | |
| 278 | uniform highp sampler2D arg_0_1; |
| 279 | uniform highp sampler2D ext_tex_plane_1_1; |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 280 | ExternalTextureParams conv_ExternalTextureParams(ExternalTextureParams_std140 val) { |
Ben Clayton | 03de0e8 | 2023-03-02 20:48:48 +0000 | [diff] [blame] | 281 | return ExternalTextureParams(val.numPlanes, val.doYuvToRgbConversionOnly, val.pad, val.pad_1, val.yuvToRgbConversionMatrix, val.gammaDecodeParams, val.gammaEncodeParams, val.gamutConversionMatrix, mat3x2(val.coordTransformationMatrix_0, val.coordTransformationMatrix_1, val.coordTransformationMatrix_2), val.pad_2, val.pad_3); |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 282 | } |
| 283 | |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 284 | layout(binding = 0, std430) buffer prevent_dce_block_ssbo { |
| 285 | vec4 inner; |
| 286 | } prevent_dce; |
| 287 | |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 288 | void textureLoad_1bfdfb() { |
Ben Clayton | be367b7 | 2023-01-04 12:29:56 +0000 | [diff] [blame] | 289 | vec4 res = textureLoadExternal(arg_0_1, ext_tex_plane_1_1, uvec2(1u), conv_ExternalTextureParams(ext_tex_params.inner)); |
Ben Clayton | 77a90cb | 2023-03-06 18:25:08 +0000 | [diff] [blame] | 290 | prevent_dce.inner = res; |
Ben Clayton | da5424b | 2022-10-24 23:58:53 +0000 | [diff] [blame] | 291 | } |
| 292 | |
| 293 | void compute_main() { |
| 294 | textureLoad_1bfdfb(); |
| 295 | } |
| 296 | |
| 297 | layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| 298 | void main() { |
| 299 | compute_main(); |
| 300 | return; |
| 301 | } |