blob: 6d89f728042b1e5245a520c03687edb69fec3c30 [file] [log] [blame]
James Pricea6287df2023-08-11 00:45:54 +00001RWTexture3D<int4> arg_0 : register(u0, space1);
2RWByteAddressBuffer prevent_dce : register(u0, space2);
James Pricef6644012023-08-11 00:45:54 +00003
James Pricea6287df2023-08-11 00:45:54 +00004void textureDimensions_20eaad() {
5 uint3 tint_tmp;
6 arg_0.GetDimensions(tint_tmp.x, tint_tmp.y, tint_tmp.z);
7 uint3 res = tint_tmp;
8 prevent_dce.Store3(0u, asuint(res));
James Pricef6644012023-08-11 00:45:54 +00009}
10
James Pricea6287df2023-08-11 00:45:54 +000011struct tint_symbol {
12 float4 value : SV_Position;
13};
James Pricef6644012023-08-11 00:45:54 +000014
James Pricea6287df2023-08-11 00:45:54 +000015float4 vertex_main_inner() {
James Pricef6644012023-08-11 00:45:54 +000016 textureDimensions_20eaad();
James Pricea6287df2023-08-11 00:45:54 +000017 return (0.0f).xxxx;
James Pricef6644012023-08-11 00:45:54 +000018}
19
James Pricea6287df2023-08-11 00:45:54 +000020tint_symbol vertex_main() {
21 const float4 inner_result = vertex_main_inner();
22 tint_symbol wrapper_result = (tint_symbol)0;
23 wrapper_result.value = inner_result;
24 return wrapper_result;
25}
26
27void fragment_main() {
James Pricef6644012023-08-11 00:45:54 +000028 textureDimensions_20eaad();
James Pricea6287df2023-08-11 00:45:54 +000029 return;
James Pricef6644012023-08-11 00:45:54 +000030}
31
James Pricea6287df2023-08-11 00:45:54 +000032[numthreads(1, 1, 1)]
33void compute_main() {
James Pricef6644012023-08-11 00:45:54 +000034 textureDimensions_20eaad();
James Pricea6287df2023-08-11 00:45:54 +000035 return;
James Pricef6644012023-08-11 00:45:54 +000036}