blob: 2d21d1790f50e851dcf2777fc18fb178ef3afb78 [file] [log] [blame]
James Pricea6287df2023-08-11 00:45:54 +00001RWTexture3D<uint4> arg_0 : register(u0, space1);
2RWByteAddressBuffer prevent_dce : register(u0, space2);
James Priced90c72b2023-08-11 00:45:54 +00003
James Pricea6287df2023-08-11 00:45:54 +00004void textureLoad_4ccf9a() {
5 uint3 arg_1 = (1u).xxx;
Jiawei Shaoa54554a2023-11-13 08:24:12 +00006 uint4 res = arg_0.Load(arg_1);
James Pricea6287df2023-08-11 00:45:54 +00007 prevent_dce.Store4(0u, asuint(res));
James Priced90c72b2023-08-11 00:45:54 +00008}
9
James Pricea6287df2023-08-11 00:45:54 +000010struct tint_symbol {
11 float4 value : SV_Position;
12};
James Priced90c72b2023-08-11 00:45:54 +000013
James Pricea6287df2023-08-11 00:45:54 +000014float4 vertex_main_inner() {
James Priced90c72b2023-08-11 00:45:54 +000015 textureLoad_4ccf9a();
James Pricea6287df2023-08-11 00:45:54 +000016 return (0.0f).xxxx;
James Priced90c72b2023-08-11 00:45:54 +000017}
18
James Pricea6287df2023-08-11 00:45:54 +000019tint_symbol vertex_main() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000020 float4 inner_result = vertex_main_inner();
James Pricea6287df2023-08-11 00:45:54 +000021 tint_symbol wrapper_result = (tint_symbol)0;
22 wrapper_result.value = inner_result;
23 return wrapper_result;
24}
25
26void fragment_main() {
James Priced90c72b2023-08-11 00:45:54 +000027 textureLoad_4ccf9a();
James Pricea6287df2023-08-11 00:45:54 +000028 return;
James Priced90c72b2023-08-11 00:45:54 +000029}
30
James Pricea6287df2023-08-11 00:45:54 +000031[numthreads(1, 1, 1)]
32void compute_main() {
James Priced90c72b2023-08-11 00:45:54 +000033 textureLoad_4ccf9a();
James Pricea6287df2023-08-11 00:45:54 +000034 return;
James Priced90c72b2023-08-11 00:45:54 +000035}