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:
Tex Riddell 2019-08-12 20:19:39 -07:00
Родитель 5aec592757
Коммит ed53d1e5b0
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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) {