blob: c8bfe31d598b793975a281ac75412a95304c988d [file] [log] [blame]
struct VertexOutput {
float4 pos;
int4 prevent_dce;
};
struct vertex_main_outputs {
nointerpolation int4 VertexOutput_prevent_dce : TEXCOORD0;
float4 VertexOutput_pos : SV_Position;
};
RWByteAddressBuffer prevent_dce : register(u0);
Texture2DArray<int4> arg_0 : register(t0, space1);
int4 textureLoad_b29f71() {
uint3 v = (0u).xxx;
arg_0.GetDimensions(v.x, v.y, v.z);
uint4 v_1 = (0u).xxxx;
arg_0.GetDimensions(0u, v_1.x, v_1.y, v_1.z, v_1.w);
uint v_2 = min(uint(int(1)), (v_1.w - 1u));
uint4 v_3 = (0u).xxxx;
arg_0.GetDimensions(uint(v_2), v_3.x, v_3.y, v_3.z, v_3.w);
uint2 v_4 = (v_3.xy - (1u).xx);
int2 v_5 = int2(min(uint2((int(1)).xx), v_4));
int v_6 = int(min(1u, (v.z - 1u)));
int4 res = int4(arg_0.Load(int4(v_5, v_6, int(v_2))));
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(textureLoad_b29f71()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(textureLoad_b29f71()));
}
VertexOutput vertex_main_inner() {
VertexOutput tint_symbol = (VertexOutput)0;
tint_symbol.pos = (0.0f).xxxx;
tint_symbol.prevent_dce = textureLoad_b29f71();
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;
}