glslang/Test/hlsl.structbuffer.rwbyte2.comp
2021-11-12 16:57:11 -07:00

11 lines
132 B
Plaintext

RWStructuredBuffer<uint> g_sbuf;
RWByteAddressBuffer g_bbuf;
void main()
{
uint f = g_bbuf.Load(16);
g_sbuf[0] = f;
}