DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

Move Patch constant `inout` parameter check to Sema

Open Keenuts opened this issue 1 year ago • 0 comments

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

DXIL has a check to verify a PatchConstant function has no inout parameter. This should be moved to Sema so both backends can benefit from it.

Right now SPIR-V backend errors, but with a different message.

Keenuts avatar Mar 05 '24 15:03 Keenuts