blob: 7f2276263f90952d4a7cbc5c4d18b02a8513ac89 [file] [log] [blame]
James Pricea6287df2023-08-11 00:45:54 +00001RWTexture1D<uint4> 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_01e21e() {
5 uint tint_tmp;
6 arg_0.GetDimensions(tint_tmp);
7 uint res = tint_tmp;
8 prevent_dce.Store(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_01e21e();
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() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000021 float4 inner_result = vertex_main_inner();
James Pricea6287df2023-08-11 00:45:54 +000022 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_01e21e();
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_01e21e();
James Pricea6287df2023-08-11 00:45:54 +000035 return;
James Pricef6644012023-08-11 00:45:54 +000036}