blob: f452fab4edf5b2cf8d658b2f0f0174552423e916 [file] [log] [blame]
Ben Claytonda5424b2022-10-24 23:58:53 +00001Texture2DArray<uint4> arg_1 : register(t1, space1);
2SamplerState arg_2 : register(s2, space1);
Ben Clayton77a90cb2023-03-06 18:25:08 +00003RWByteAddressBuffer prevent_dce : register(u0, space2);
Ben Claytonda5424b2022-10-24 23:58:53 +00004
5void textureGather_6b7b74() {
Ben Clayton4b606152022-11-04 17:06:03 +00006 float2 arg_3 = (1.0f).xx;
Ben Claytonda5424b2022-10-24 23:58:53 +00007 uint arg_4 = 1u;
Antonio Maioranob0dfccd2023-08-30 14:49:42 +00008 uint4 res = arg_1.GatherGreen(arg_2, float3(arg_3, float(arg_4)), int2((1).xx));
Ben Clayton77a90cb2023-03-06 18:25:08 +00009 prevent_dce.Store4(0u, asuint(res));
Ben Claytonda5424b2022-10-24 23:58:53 +000010}
11
12struct tint_symbol {
13 float4 value : SV_Position;
14};
15
16float4 vertex_main_inner() {
17 textureGather_6b7b74();
18 return (0.0f).xxxx;
19}
20
21tint_symbol vertex_main() {
22 const float4 inner_result = vertex_main_inner();
23 tint_symbol wrapper_result = (tint_symbol)0;
24 wrapper_result.value = inner_result;
25 return wrapper_result;
26}
27
28void fragment_main() {
29 textureGather_6b7b74();
30 return;
31}
32
33[numthreads(1, 1, 1)]
34void compute_main() {
35 textureGather_6b7b74();
36 return;
37}