blob: 2b0dce0d2ef0746da4b42b3e6b1bb3d9852322b5 [file] [log] [blame]
struct VertexOutput {
float4 pos;
uint prevent_dce;
};
struct vertex_main_outputs {
nointerpolation uint VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
uint pack4xI8Clamp_e42b2a() {
int4 arg_0 = (1).xxxx;
int4 v = arg_0;
uint4 v_1 = uint4(0u, 8u, 16u, 24u);
int4 v_2 = int4((-128).xxxx);
uint4 v_3 = asuint(clamp(v, v_2, int4((127).xxxx)));
uint4 v_4 = ((v_3 & uint4((255u).xxxx)) << v_1);
uint res = dot(v_4, uint4((1u).xxxx));
return res;
}
void fragment_main() {
prevent_dce.Store(0u, pack4xI8Clamp_e42b2a());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, pack4xI8Clamp_e42b2a());
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = pack4xI8Clamp_e42b2a();
VertexOutput v_5 = tint_symbol;
return v_5;
}
vertex_main_outputs vertex_main() {
VertexOutput v_6 = vertex_main_inner();
VertexOutput v_7 = v_6;
VertexOutput v_8 = v_6;
vertex_main_outputs v_9 = {v_8.prevent_dce, v_7.pos};
return v_9;
}