[PATCH] D134998: [HLSL] [Driver] Add -no-legacy-cbuf-layout to control layout for cbuffer.
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 30 16:14:02 PDT 2022
python3kgae created this revision.
python3kgae added reviewers: pow2clk, beanz, bogner.
Herald added a subscriber: Anastasia.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay.
Herald added a project: clang.
Two new options are added.
no-legacy-cbuf-layout for dxc mode to match dxc.
hlsl-no-legacy-cbuffer-layout for cc1 mode and save the information will saved in TargetOptions::HLSLNoLegacyCBufferLayout.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134998
Files:
clang/include/clang/Basic/TargetOptions.h
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/HLSL.cpp
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Driver/dxc_no_legacy_cbuf_layout.hlsl
clang/unittests/Driver/DXCModeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134998.464429.patch
Type: text/x-patch
Size: 6278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220930/43f2cb50/attachment-0001.bin>
More information about the cfe-commits
mailing list