blob: 367aa0833bab107422cf161bd17d482a03263ba5 [file] [log] [blame]
Ben Clayton13f08902022-10-26 18:36:44 +00001Texture2DArray arg_0 : register(t0, space1);
Ben Clayton77a90cb2023-03-06 18:25:08 +00002RWByteAddressBuffer prevent_dce : register(u0, space2);
Ben Clayton13f08902022-10-26 18:36:44 +00003
4void textureDimensions_a4cd56() {
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;
Ben Clayton77a90cb2023-03-06 18:25:08 +00008 prevent_dce.Store2(0u, asuint(res));
Ben Clayton13f08902022-10-26 18:36:44 +00009}
10
11struct tint_symbol {
12 float4 value : SV_Position;
13};
14
15float4 vertex_main_inner() {
16 textureDimensions_a4cd56();
17 return (0.0f).xxxx;
18}
19
20tint_symbol vertex_main() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000021 float4 inner_result = vertex_main_inner();
Ben Clayton13f08902022-10-26 18:36:44 +000022 tint_symbol wrapper_result = (tint_symbol)0;
23 wrapper_result.value = inner_result;
24 return wrapper_result;
25}
26
27void fragment_main() {
28 textureDimensions_a4cd56();
29 return;
30}
31
32[numthreads(1, 1, 1)]
33void compute_main() {
34 textureDimensions_a4cd56();
35 return;
36}