blob: a02684adb76629c711b81b8aaacf443e4d291845 [file] [log] [blame]
Ben Clayton2e376a92022-10-26 18:47:02 +00001Texture2DArray<float4> 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 Clayton2e376a92022-10-26 18:47:02 +00004
5void textureGather_831549() {
Antonio Maioranob0dfccd2023-08-30 14:49:42 +00006 float4 res = arg_1.GatherGreen(arg_2, float3((1.0f).xx, float(1)), int2((1).xx));
Ben Clayton77a90cb2023-03-06 18:25:08 +00007 prevent_dce.Store4(0u, asuint(res));
Ben Clayton2e376a92022-10-26 18:47:02 +00008}
9
10struct tint_symbol {
11 float4 value : SV_Position;
12};
13
14float4 vertex_main_inner() {
15 textureGather_831549();
16 return (0.0f).xxxx;
17}
18
19tint_symbol vertex_main() {
20 const float4 inner_result = vertex_main_inner();
21 tint_symbol wrapper_result = (tint_symbol)0;
22 wrapper_result.value = inner_result;
23 return wrapper_result;
24}
25
26void fragment_main() {
27 textureGather_831549();
28 return;
29}
30
31[numthreads(1, 1, 1)]
32void compute_main() {
33 textureGather_831549();
34 return;
35}