blob: 45f2299dd001bd27ee6f69d74f95448013052eb7 [file] [log] [blame]
Ben Clayton2e376a92022-10-26 18:47:02 +00001Texture2DArray<float4> arg_0 : register(t0, space1);
Ben Clayton77a90cb2023-03-06 18:25:08 +00002RWByteAddressBuffer prevent_dce : register(u0, space2);
Ben Clayton2e376a92022-10-26 18:47:02 +00003
4void textureLoad_f348d9() {
Ben Clayton4b606152022-11-04 17:06:03 +00005 float4 res = arg_0.Load(uint4(uint3((1u).xx, 1u), uint(1)));
Ben Clayton77a90cb2023-03-06 18:25:08 +00006 prevent_dce.Store4(0u, asuint(res));
Ben Clayton2e376a92022-10-26 18:47:02 +00007}
8
9struct tint_symbol {
10 float4 value : SV_Position;
11};
12
13float4 vertex_main_inner() {
14 textureLoad_f348d9();
15 return (0.0f).xxxx;
16}
17
18tint_symbol vertex_main() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000019 float4 inner_result = vertex_main_inner();
Ben Clayton2e376a92022-10-26 18:47:02 +000020 tint_symbol wrapper_result = (tint_symbol)0;
21 wrapper_result.value = inner_result;
22 return wrapper_result;
23}
24
25void fragment_main() {
26 textureLoad_f348d9();
27 return;
28}
29
30[numthreads(1, 1, 1)]
31void compute_main() {
32 textureLoad_f348d9();
33 return;
34}