blob: 1a4a9b6aa83e093022d996ed5ed27f57416bb3f1 [file] [log] [blame]
struct VertexOutput {
float4 pos;
int4 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation int4 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
int4 countTrailingZeros_1dc84a() {
int4 arg_0 = (int(1)).xxxx;
uint4 v = asuint(arg_0);
uint4 v_1 = ((((v & (65535u).xxxx) == (0u).xxxx)) ? ((16u).xxxx) : ((0u).xxxx));
uint4 v_2 = (((((v >> v_1) & (255u).xxxx) == (0u).xxxx)) ? ((8u).xxxx) : ((0u).xxxx));
uint4 v_3 = ((((((v >> v_1) >> v_2) & (15u).xxxx) == (0u).xxxx)) ? ((4u).xxxx) : ((0u).xxxx));
uint4 v_4 = (((((((v >> v_1) >> v_2) >> v_3) & (3u).xxxx) == (0u).xxxx)) ? ((2u).xxxx) : ((0u).xxxx));
uint4 v_5 = ((((((((v >> v_1) >> v_2) >> v_3) >> v_4) & (1u).xxxx) == (0u).xxxx)) ? ((1u).xxxx) : ((0u).xxxx));
int4 res = asint(((v_1 | (v_2 | (v_3 | (v_4 | v_5)))) + (((((((v >> v_1) >> v_2) >> v_3) >> v_4) == (0u).xxxx)) ? ((1u).xxxx) : ((0u).xxxx))));
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(countTrailingZeros_1dc84a()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(countTrailingZeros_1dc84a()));
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = countTrailingZeros_1dc84a();
VertexOutput v_6 = tint_symbol;
return v_6;
}
vertex_main_outputs vertex_main() {
VertexOutput v_7 = vertex_main_inner();
vertex_main_outputs v_8 = {v_7.prevent_dce, v_7.pos};
return v_8;
}