blob: 63bf3bbc3e3476c6e90edfbdbf70caad23b86c19 [file] [log] [blame]
struct VertexOutput {
float4 pos;
float2 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation float2 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
float2 unpack2x16snorm_b4aea6() {
uint arg_0 = 1u;
int v = int(arg_0);
float2 res = clamp((float2((int2((v << 16u), v) >> (16u).xx)) / 32767.0f), (-1.0f).xx, (1.0f).xx);
return res;
}
void fragment_main() {
prevent_dce.Store2(0u, asuint(unpack2x16snorm_b4aea6()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store2(0u, asuint(unpack2x16snorm_b4aea6()));
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = unpack2x16snorm_b4aea6();
VertexOutput v_1 = tint_symbol;
return v_1;
}
vertex_main_outputs vertex_main() {
VertexOutput v_2 = vertex_main_inner();
VertexOutput v_3 = v_2;
VertexOutput v_4 = v_2;
vertex_main_outputs v_5 = {v_4.prevent_dce, v_3.pos};
return v_5;
}