parent
c9706bdda0
commit
10be28ac9b
4 changed files with 154 additions and 0 deletions
10
Test/hlsl.structbuffer.rwbyte2.comp
Normal file
10
Test/hlsl.structbuffer.rwbyte2.comp
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
RWStructuredBuffer<uint> g_sbuf;
|
||||
RWByteAddressBuffer g_bbuf;
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
uint f = g_bbuf.Load(16);
|
||||
g_sbuf[0] = f;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue