blob: 4a8cfab1a33a4f27415b5e4fb24db03c6d509399 [file] [log] [blame]
//
// fragment_main
//
RWByteAddressBuffer prevent_dce : register(u0);
uint4 extractBits_631377() {
uint4 arg_0 = (1u).xxxx;
uint arg_1 = 1u;
uint arg_2 = 1u;
uint4 v = arg_0;
uint v_1 = min(arg_1, 32u);
uint v_2 = (32u - min(32u, (v_1 + arg_2)));
uint4 v_3 = (((v_2 < 32u)) ? ((v << uint4((v_2).xxxx))) : ((0u).xxxx));
uint4 res = ((((v_2 + v_1) < 32u)) ? ((v_3 >> uint4(((v_2 + v_1)).xxxx))) : (((v_3 >> (31u).xxxx) >> (1u).xxxx)));
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, extractBits_631377());
}
//
// compute_main
//
RWByteAddressBuffer prevent_dce : register(u0);
uint4 extractBits_631377() {
uint4 arg_0 = (1u).xxxx;
uint arg_1 = 1u;
uint arg_2 = 1u;
uint4 v = arg_0;
uint v_1 = min(arg_1, 32u);
uint v_2 = (32u - min(32u, (v_1 + arg_2)));
uint4 v_3 = (((v_2 < 32u)) ? ((v << uint4((v_2).xxxx))) : ((0u).xxxx));
uint4 res = ((((v_2 + v_1) < 32u)) ? ((v_3 >> uint4(((v_2 + v_1)).xxxx))) : (((v_3 >> (31u).xxxx) >> (1u).xxxx)));
return res;
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, extractBits_631377());
}
//
// vertex_main
//
struct VertexOutput {
float4 pos;
uint4 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation uint4 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
uint4 extractBits_631377() {
uint4 arg_0 = (1u).xxxx;
uint arg_1 = 1u;
uint arg_2 = 1u;
uint4 v = arg_0;
uint v_1 = min(arg_1, 32u);
uint v_2 = (32u - min(32u, (v_1 + arg_2)));
uint4 v_3 = (((v_2 < 32u)) ? ((v << uint4((v_2).xxxx))) : ((0u).xxxx));
uint4 res = ((((v_2 + v_1) < 32u)) ? ((v_3 >> uint4(((v_2 + v_1)).xxxx))) : (((v_3 >> (31u).xxxx) >> (1u).xxxx)));
return res;
}
VertexOutput vertex_main_inner() {
VertexOutput v_4 = (VertexOutput)0;
v_4.pos = (0.0f).xxxx;
v_4.prevent_dce = extractBits_631377();
VertexOutput v_5 = v_4;
return v_5;
}
vertex_main_outputs vertex_main() {
VertexOutput v_6 = vertex_main_inner();
vertex_main_outputs v_7 = {v_6.prevent_dce, v_6.pos};
return v_7;
}