blob: 7885929384c7ce3e62768385b59c2986eb37c760 [file] [log] [blame]
Ben Clayton2e376a92022-10-26 18:47:02 +00001TextureCubeArray<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_d98d59() {
Ben Clayton4b606152022-11-04 17:06:03 +00006 float4 res = arg_1.GatherGreen(arg_2, float4((1.0f).xxx, float(1)));
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_d98d59();
16 return (0.0f).xxxx;
17}
18
19tint_symbol vertex_main() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000020 float4 inner_result = vertex_main_inner();
Ben Clayton2e376a92022-10-26 18:47:02 +000021 tint_symbol wrapper_result = (tint_symbol)0;
22 wrapper_result.value = inner_result;
23 return wrapper_result;
24}
25
26void fragment_main() {
27 textureGather_d98d59();
28 return;
29}
30
31[numthreads(1, 1, 1)]
32void compute_main() {
33 textureGather_d98d59();
34 return;
35}