blob: 4f81718e657e33a2a5f3843cc5b190699aa4275b [file] [log] [blame]
RWByteAddressBuffer prevent_dce : register(u0);
RWTexture2DArray<int4> arg_0 : register(u0, space1);
int4 textureLoad_2cee30() {
uint2 arg_1 = (1u).xx;
int arg_2 = int(1);
uint2 v = arg_1;
uint3 v_1 = (0u).xxx;
arg_0.GetDimensions(v_1.x, v_1.y, v_1.z);
uint v_2 = min(uint(arg_2), (v_1.z - 1u));
uint3 v_3 = (0u).xxx;
arg_0.GetDimensions(v_3.x, v_3.y, v_3.z);
int2 v_4 = int2(min(v, (v_3.xy - (1u).xx)));
int4 res = int4(arg_0.Load(int4(v_4, int(v_2), int(0))));
return res;
}
void fragment_main() {
prevent_dce.Store4(0u, asuint(textureLoad_2cee30()));
}
[numthreads(1, 1, 1)]
void compute_main() {
prevent_dce.Store4(0u, asuint(textureLoad_2cee30()));
}