blob: 4c9ace9718faa1e3415d63727d9adacbb550df9b [file] [log] [blame]
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
precision highp float;
precision highp int;
layout(binding = 0, std430)
buffer prevent_dce_block_1_ssbo {
uvec2 inner;
} v;
uvec2 tint_bitcast_from_f16(f16vec4 src) {
uint v_1 = packFloat2x16(src.xy);
return uvec2(uvec2(v_1, packFloat2x16(src.zw)));
}
uvec2 bitcast_81c5f5() {
f16vec4 arg_0 = f16vec4(1.0hf);
uvec2 res = tint_bitcast_from_f16(arg_0);
return res;
}
void main() {
v.inner = bitcast_81c5f5();
}
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
layout(binding = 0, std430)
buffer prevent_dce_block_1_ssbo {
uvec2 inner;
} v;
uvec2 tint_bitcast_from_f16(f16vec4 src) {
uint v_1 = packFloat2x16(src.xy);
return uvec2(uvec2(v_1, packFloat2x16(src.zw)));
}
uvec2 bitcast_81c5f5() {
f16vec4 arg_0 = f16vec4(1.0hf);
uvec2 res = tint_bitcast_from_f16(arg_0);
return res;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
v.inner = bitcast_81c5f5();
}
#version 310 es
#extension GL_AMD_gpu_shader_half_float: require
struct VertexOutput {
vec4 pos;
uvec2 prevent_dce;
};
layout(location = 0) flat out uvec2 vertex_main_loc0_Output;
uvec2 tint_bitcast_from_f16(f16vec4 src) {
uint v = packFloat2x16(src.xy);
return uvec2(uvec2(v, packFloat2x16(src.zw)));
}
uvec2 bitcast_81c5f5() {
f16vec4 arg_0 = f16vec4(1.0hf);
uvec2 res = tint_bitcast_from_f16(arg_0);
return res;
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u));
tint_symbol.pos = vec4(0.0f);
tint_symbol.prevent_dce = bitcast_81c5f5();
return tint_symbol;
}
void main() {
VertexOutput v_1 = vertex_main_inner();
gl_Position = v_1.pos;
gl_Position[1u] = -(gl_Position.y);
gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w);
vertex_main_loc0_Output = v_1.prevent_dce;
gl_PointSize = 1.0f;
}