DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

dxc should report error when mix packoffset elements with nonpackoffset elements in a cbuffer

Open python3kgae opened this issue 2 years ago • 0 comments

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"

python3kgae avatar Jul 19 '22 00:07 python3kgae