HLSL: Add missing reference output file.
This commit is contained in:
parent
79401259fd
commit
73726f37c5
24
reference/opt/shaders-hlsl/comp/ssbo-store-array.comp
Normal file
24
reference/opt/shaders-hlsl/comp/ssbo-store-array.comp
Normal 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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user