beanz added inline comments.
================ Comment at: clang/lib/Driver/ToolChains/Clang.cpp:3524 + // Preserve vec3 for HLSL. + CmdArgs.push_back("-fpreserve-vec3-type"); } ---------------- Preserving vec3 is required for HLSL correctness, this shouldn't be tied to the DXC driver mode. Instead, the option should be implied by the HLSL language mode. You should be able to add the following to the TableGen definition for the `preserve-vec3-type` flag: ``` ImpliedByAnyOf<[hlsl.KeyPath]>; ``` Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D132913/new/ https://reviews.llvm.org/D132913 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits