// rewriter-parameter-block.slang //TEST_IGNORE_FILE: // A type that mixes uniform and resource fields struct Data { int val; RWStructuredBuffer buf; }; // A function that uses that type int test(Data data, int val) { return data.val + data.buf[val]; } cbuffer C { ParameterBlock gA; Data gB; };