blob: 2675843157d6afd9cc844c73e499fd610f6a64e8 [file] [log] [blame]
struct VertexOutput {
float4 pos;
uint4 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation uint4 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
uint4 countLeadingZeros_f70103() {
uint4 arg_0 = (1u).xxxx;
uint4 v = arg_0;
uint4 v_1 = (((v <= (65535u).xxxx)) ? ((16u).xxxx) : ((0u).xxxx));
uint4 v_2 = ((((v << v_1) <= (16777215u).xxxx)) ? ((8u).xxxx) : ((0u).xxxx));
uint4 v_3 = (((((v << v_1) << v_2) <= (268435455u).xxxx)) ? ((4u).xxxx) : ((0u).xxxx));
uint4 v_4 = ((((((v << v_1) << v_2) << v_3) <= (1073741823u).xxxx)) ? ((2u).xxxx) : ((0u).xxxx));
uint4 v_5 = (((((((v << v_1) << v_2) << v_3) << v_4) <= (2147483647u).xxxx)) ? ((1u).xxxx) : ((0u).xxxx));
uint4 v_6 = (((((((v << v_1) << v_2) << v_3) << v_4) == (0u).xxxx)) ? ((1u).xxxx) : ((0u).xxxx));
uint4 res = ((v_1 | (v_2 | (v_3 | (v_4 | (v_5 | v_6))))) + v_6);
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, countLeadingZeros_f70103());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, countLeadingZeros_f70103());
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = countLeadingZeros_f70103();
VertexOutput v_7 = tint_symbol;
return v_7;
}
vertex_main_outputs vertex_main() {
VertexOutput v_8 = vertex_main_inner();
vertex_main_outputs v_9 = {v_8.prevent_dce, v_8.pos};
return v_9;
}