DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
dxc should report error when mix packoffset elements with nonpackoffset elements in a cbuffer
cbuffer CB { float a; float b:packoffset(c1.y); }
float main() : SV_Target { return a + b; }
FXC will report error " cannot mix packoffset elements with nonpackoffset elements in a cbuffer"