HLSL: Add missing reference output file.

This commit is contained in:
Hans-Kristian Arntzen 2023-10-11 13:03:08 +02:00
parent 79401259fd
commit 73726f37c5

View File

@ -0,0 +1,24 @@
struct Data
{
uint arr[3];
};
static uint _34;
RWByteAddressBuffer _13 : register(u0);
void comp_main()
{
uint _33[3] = { _34, _34, _34 };
[unroll]
for (int _0ident = 0; _0ident < 3; _0ident++)
{
_13.Store(_0ident * 4 + 0, _33[_0ident]);
}
}
[numthreads(1, 1, 1)]
void main()
{
comp_main();
}