Strip reflection from DXIL part when /Qstrip_reflect
- hide temporary /Qstrip_reflect_from_dxil option (it will always strip reflection from DXIL in the future)
This commit is contained in:
Родитель
5aec592757
Коммит
ed53d1e5b0
|
@ -355,7 +355,7 @@ def Qstrip_reflect : Flag<["-", "/"], "Qstrip_reflect">, Flags<[CoreOption, Driv
|
|||
HelpText<"Strip reflection data from shader bytecode (must be used with /Fo <file>)">;
|
||||
def Qstrip_reflect_from_dxil : Flag<["-", "/"], "Qstrip_reflect_from_dxil">, Flags<[CoreOption]>, Group<hlslutil_Group>,
|
||||
HelpText<"Strip reflection data from shader bytecode (must be used with /Fo <file>)">;
|
||||
def Qstrip_debug : Flag<["-", "/"], "Qstrip_debug">, Flags<[CoreOption, DriverOption]>, Group<hlslutil_Group>,
|
||||
def Qstrip_debug : Flag<["-", "/"], "Qstrip_debug">, Flags<[CoreOption, DriverOption, HelpHidden]>, Group<hlslutil_Group>,
|
||||
HelpText<"Strip debug information from 4_0+ shader bytecode (must be used with /Fo <file>)">;
|
||||
def Qembed_debug : Flag<["-", "/"], "Qembed_debug">, Flags<[CoreOption]>, Group<hlslutil_Group>,
|
||||
HelpText<"Embed PDB in shader container (must be used with /Zi)">;
|
||||
|
|
|
@ -729,7 +729,7 @@ public:
|
|||
// Implies name part
|
||||
SerializeFlags |= SerializeDxilFlags::IncludeDebugNamePart;
|
||||
}
|
||||
if (opts.StripReflectionFromDxil) {
|
||||
if (opts.StripReflection || opts.StripReflectionFromDxil) {
|
||||
SerializeFlags |= SerializeDxilFlags::StripReflectionFromDxilPart;
|
||||
}
|
||||
if (!opts.StripReflection) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче