blob: ae827d0e57cfc091a6a59853e16d3b6bf163d224 [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_a0f5ca() {
uint v = 0u;
sb_ro.GetDimensions(v);
uint res = (v / 4u);
return res;
}
void fragment_main() {
prevent_dce.Store(0u, arrayLength_a0f5ca());
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store(0u, arrayLength_a0f5ca());
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = arrayLength_a0f5ca();
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;
}