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