DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
Move Patch constant `inout` parameter check to Sema
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.