Fix struct type sharing

Fixes #2812
This commit is contained in:
Greg Fischer 2021-11-12 16:54:22 -07:00
parent c9706bdda0
commit 10be28ac9b
4 changed files with 154 additions and 0 deletions

View file

@ -0,0 +1,10 @@
RWStructuredBuffer<uint> g_sbuf;
RWByteAddressBuffer g_bbuf;
void main()
{
uint f = g_bbuf.Load(16);
g_sbuf[0] = f;
}