blob: f5e73d85f022f5fe648e5f80d2749283dc309b5f [file] [log] [blame]
James Pricea6287df2023-08-11 00:45:54 +00001RWTexture2D<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_a3733f() {
Jiawei Shaoa54554a2023-11-13 08:24:12 +00005 uint4 res = arg_0.Load(int2((1).xx));
James Pricea6287df2023-08-11 00:45:54 +00006 prevent_dce.Store4(0u, asuint(res));
James Priced90c72b2023-08-11 00:45:54 +00007}
8
James Pricea6287df2023-08-11 00:45:54 +00009struct tint_symbol {
10 float4 value : SV_Position;
11};
James Priced90c72b2023-08-11 00:45:54 +000012
James Pricea6287df2023-08-11 00:45:54 +000013float4 vertex_main_inner() {
James Priced90c72b2023-08-11 00:45:54 +000014 textureLoad_a3733f();
James Pricea6287df2023-08-11 00:45:54 +000015 return (0.0f).xxxx;
James Priced90c72b2023-08-11 00:45:54 +000016}
17
James Pricea6287df2023-08-11 00:45:54 +000018tint_symbol vertex_main() {
Antonio Maiorano144ebed2024-01-30 16:30:15 +000019 float4 inner_result = vertex_main_inner();
James Pricea6287df2023-08-11 00:45:54 +000020 tint_symbol wrapper_result = (tint_symbol)0;
21 wrapper_result.value = inner_result;
22 return wrapper_result;
23}
24
25void fragment_main() {
James Priced90c72b2023-08-11 00:45:54 +000026 textureLoad_a3733f();
James Pricea6287df2023-08-11 00:45:54 +000027 return;
James Priced90c72b2023-08-11 00:45:54 +000028}
29
James Pricea6287df2023-08-11 00:45:54 +000030[numthreads(1, 1, 1)]
31void compute_main() {
James Priced90c72b2023-08-11 00:45:54 +000032 textureLoad_a3733f();
James Pricea6287df2023-08-11 00:45:54 +000033 return;
James Priced90c72b2023-08-11 00:45:54 +000034}