Fix HLSL offsets for non-cbuffers (#3668)

This commit is contained in:
Pavel Asyutchenko 2024-07-29 19:34:50 +02:00 committed by arcady-lunarg
parent 4b73607b89
commit 9f34b25f30
4 changed files with 105 additions and 7 deletions

View file

@ -0,0 +1,13 @@
// See https://github.com/KhronosGroup/glslang/issues/3668
struct GfxIterationData {
float mIntegrationTrafo[24];
float mWind[3];
uint mIsTurning;
};
StructuredBuffer<GfxIterationData> bIterData : register(t2);
void main()
{
}