Page MenuHomePhabricator

[HLSL] [Driver] Add -no-legacy-cbuf-layout to control layout for cbuffer.
Needs ReviewPublic

Authored by python3kgae on Sep 30 2022, 4:14 PM.

Details

Summary

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.

Diff Detail