This means tbuffer now works for hlsl and glsl targets.
SPIR-V and Metal has yet to implement logic for TextureBufferType emitting/legalization, separate issue to track this (#4435).
Changes:
Add resource layouts for 'TextureBuffer'.
Add on to existing logic a way to allocate appropriate registers for TextureBufferType (this was made to work with parameter block logic).
fix some emit logic of TextureBufferType for metal target so users get a useful error that points to #4435
Fixes: #4428
This means
tbuffer
now works for hlsl and glsl targets. SPIR-V and Metal has yet to implement logic forTextureBufferType
emitting/legalization, separate issue to track this (#4435).Changes:
TextureBufferType
for metal target so users get a useful error that points to #4435