DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

[SPIR-V] Move check to verify PatchConstant output patch element count to Sema

Open Keenuts opened this issue 1 year ago • 0 comments

The DXIL backend checks the PatchConstant output patch element count. This is not checked on the SPIR-V backend.

This means we accept code DXIL doesn't. This should not happen, and in this case, the check should be moved to Sema so both backends can benefit from it.

Follow up from https://github.com/microsoft/DirectXShaderCompiler/pull/6363

Keenuts avatar Mar 05 '24 15:03 Keenuts