blob: ca33830d85502030df0ca428e501975fccef8100 [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);
ByteAddressBuffer sb_ro : register(t1);
uint arrayLength_8421b9() {
uint v = 0u;
sb_ro.GetDimensions(v);
uint res = (v / 2u);
return res;
}
void fragment_main() {
prevent_dce.Store(0u, arrayLength_8421b9());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, arrayLength_8421b9());
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = arrayLength_8421b9();
VertexOutput v_1 = tint_symbol;
return v_1;
}
vertex_main_outputs vertex_main() {
VertexOutput v_2 = vertex_main_inner();
VertexOutput v_3 = v_2;
VertexOutput v_4 = v_2;
vertex_main_outputs v_5 = {v_4.prevent_dce, v_3.pos};
return v_5;
}