blob: 6aa962fbad392a905d2ce31c91a550c179169c05 [file] [log] [blame]
Natalie Chouinard6ee63302024-06-25 20:45:30 +00001RWByteAddressBuffer prevent_dce : register(u0);
Ben Clayton13f08902022-10-26 18:36:44 +00002RWTexture2DArray<int4> arg_0 : register(u0, space1);
3
Natalie Chouinarde9027182024-06-13 18:50:19 +00004uint2 textureDimensions_674058() {
Ben Clayton068eb3e2023-03-08 02:48:34 +00005 uint3 tint_tmp;
Ben Clayton13f08902022-10-26 18:36:44 +00006 arg_0.GetDimensions(tint_tmp.x, tint_tmp.y, tint_tmp.z);
7 uint2 res = tint_tmp.xy;
Natalie Chouinarde9027182024-06-13 18:50:19 +00008 return res;
Ben Clayton13f08902022-10-26 18:36:44 +00009}
10
Ben Clayton13f08902022-10-26 18:36:44 +000011void fragment_main() {
Natalie Chouinarde9027182024-06-13 18:50:19 +000012 prevent_dce.Store2(0u, asuint(textureDimensions_674058()));
Ben Clayton13f08902022-10-26 18:36:44 +000013 return;
14}
15
16[numthreads(1, 1, 1)]
17void compute_main() {
Natalie Chouinarde9027182024-06-13 18:50:19 +000018 prevent_dce.Store2(0u, asuint(textureDimensions_674058()));
Ben Clayton13f08902022-10-26 18:36:44 +000019 return;
20}