blob: ca80a7d06eeae0df0f2d46d6dc8e242ea0dea8a4 [file] [log] [blame]
struct VertexOutput {
float4 pos;
uint3 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation uint3 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
uint3 countTrailingZeros_8ed26f() {
uint3 arg_0 = (1u).xxx;
uint3 v = arg_0;
uint3 v_1 = ((((v & (65535u).xxx) == (0u).xxx)) ? ((16u).xxx) : ((0u).xxx));
uint3 v_2 = (((((v >> v_1) & (255u).xxx) == (0u).xxx)) ? ((8u).xxx) : ((0u).xxx));
uint3 v_3 = ((((((v >> v_1) >> v_2) & (15u).xxx) == (0u).xxx)) ? ((4u).xxx) : ((0u).xxx));
uint3 v_4 = (((((((v >> v_1) >> v_2) >> v_3) & (3u).xxx) == (0u).xxx)) ? ((2u).xxx) : ((0u).xxx));
uint3 v_5 = ((((((((v >> v_1) >> v_2) >> v_3) >> v_4) & (1u).xxx) == (0u).xxx)) ? ((1u).xxx) : ((0u).xxx));
uint3 res = ((v_1 | (v_2 | (v_3 | (v_4 | v_5)))) + (((((((v >> v_1) >> v_2) >> v_3) >> v_4) == (0u).xxx)) ? ((1u).xxx) : ((0u).xxx)));
return res;
}
void fragment_main() {
prevent_dce.Store3(0u, countTrailingZeros_8ed26f());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store3(0u, countTrailingZeros_8ed26f());
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = countTrailingZeros_8ed26f();
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;
}