blob: 0a0b75fe6653b7027b85d040a9cf3ff216d7e5a1 [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();
vertex_main_outputs v_3 = {v_2.prevent_dce, v_2.pos};
return v_3;
}