glslang/Test/hlsl.structbuffer.rwbyte2.comp

11 lines
132 B
Plaintext
Raw Normal View History

2021-11-12 23:54:22 +00:00
RWStructuredBuffer<uint> g_sbuf;
RWByteAddressBuffer g_bbuf;
void main()
{
uint f = g_bbuf.Load(16);
g_sbuf[0] = f;
}