blob: 479d3a5ee6e8cab18cee0745b221f5723f2df565 [file] [log] [blame]
#version 310 es
struct Inner {
float scalar_f32;
int scalar_i32;
uint scalar_u32;
uint tint_pad_0;
vec2 vec2_f32;
ivec2 vec2_i32;
uvec2 vec2_u32;
uint tint_pad_1;
uint tint_pad_2;
vec3 vec3_f32;
uint tint_pad_3;
ivec3 vec3_i32;
uint tint_pad_4;
uvec3 vec3_u32;
uint tint_pad_5;
vec4 vec4_f32;
ivec4 vec4_i32;
uvec4 vec4_u32;
mat2 mat2x2_f32;
mat2x3 mat2x3_f32;
mat2x4 mat2x4_f32;
mat3x2 mat3x2_f32;
uint tint_pad_6;
uint tint_pad_7;
mat3 mat3x3_f32;
mat3x4 mat3x4_f32;
mat4x2 mat4x2_f32;
mat4x3 mat4x3_f32;
mat4 mat4x4_f32;
vec3 arr2_vec3_f32[2];
};
layout(binding = 0, std430)
buffer S_1_ssbo {
Inner arr[];
} sb;
layout(binding = 1, std430)
buffer s_block_1_ssbo {
int inner;
} v;
int tint_f32_to_i32(float value) {
return mix(2147483647, mix((-2147483647 - 1), int(value), (value >= -2147483648.0f)), (value <= 2147483520.0f));
}
void tint_symbol_inner(uint idx) {
float scalar_f32 = sb.arr[idx].scalar_f32;
int scalar_i32 = sb.arr[idx].scalar_i32;
uint scalar_u32 = sb.arr[idx].scalar_u32;
vec2 vec2_f32 = sb.arr[idx].vec2_f32;
ivec2 vec2_i32 = sb.arr[idx].vec2_i32;
uvec2 vec2_u32 = sb.arr[idx].vec2_u32;
vec3 vec3_f32 = sb.arr[idx].vec3_f32;
ivec3 vec3_i32 = sb.arr[idx].vec3_i32;
uvec3 vec3_u32 = sb.arr[idx].vec3_u32;
vec4 vec4_f32 = sb.arr[idx].vec4_f32;
ivec4 vec4_i32 = sb.arr[idx].vec4_i32;
uvec4 vec4_u32 = sb.arr[idx].vec4_u32;
mat2 mat2x2_f32 = sb.arr[idx].mat2x2_f32;
mat2x3 mat2x3_f32 = sb.arr[idx].mat2x3_f32;
mat2x4 mat2x4_f32 = sb.arr[idx].mat2x4_f32;
mat3x2 mat3x2_f32 = sb.arr[idx].mat3x2_f32;
mat3 mat3x3_f32 = sb.arr[idx].mat3x3_f32;
mat3x4 mat3x4_f32 = sb.arr[idx].mat3x4_f32;
mat4x2 mat4x2_f32 = sb.arr[idx].mat4x2_f32;
mat4x3 mat4x3_f32 = sb.arr[idx].mat4x3_f32;
mat4 mat4x4_f32 = sb.arr[idx].mat4x4_f32;
vec3 arr2_vec3_f32[2] = sb.arr[idx].arr2_vec3_f32;
int v_1 = (tint_f32_to_i32(scalar_f32) + scalar_i32);
int v_2 = (v_1 + int(scalar_u32));
int v_3 = ((v_2 + tint_f32_to_i32(vec2_f32[0u])) + vec2_i32[0u]);
int v_4 = (v_3 + int(vec2_u32[0u]));
int v_5 = ((v_4 + tint_f32_to_i32(vec3_f32[1u])) + vec3_i32[1u]);
int v_6 = (v_5 + int(vec3_u32[1u]));
int v_7 = ((v_6 + tint_f32_to_i32(vec4_f32[2u])) + vec4_i32[2u]);
int v_8 = (v_7 + int(vec4_u32[2u]));
int v_9 = (v_8 + tint_f32_to_i32(mat2x2_f32[0][0u]));
int v_10 = (v_9 + tint_f32_to_i32(mat2x3_f32[0][0u]));
int v_11 = (v_10 + tint_f32_to_i32(mat2x4_f32[0][0u]));
int v_12 = (v_11 + tint_f32_to_i32(mat3x2_f32[0][0u]));
int v_13 = (v_12 + tint_f32_to_i32(mat3x3_f32[0][0u]));
int v_14 = (v_13 + tint_f32_to_i32(mat3x4_f32[0][0u]));
int v_15 = (v_14 + tint_f32_to_i32(mat4x2_f32[0][0u]));
int v_16 = (v_15 + tint_f32_to_i32(mat4x3_f32[0][0u]));
int v_17 = (v_16 + tint_f32_to_i32(mat4x4_f32[0][0u]));
v.inner = (v_17 + tint_f32_to_i32(arr2_vec3_f32[0][0u]));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol_inner(gl_LocalInvocationIndex);
}