@@ -8626,6 +8626,11 @@ def fobjc_subscripting_legacy_runtime : Flag<["-"], "fobjc-subscripting-legacy-r
86268626def vtordisp_mode_EQ : Joined<["-"], "vtordisp-mode=">,
86278627 HelpText<"Control vtordisp placement on win32 targets">,
86288628 MarshallingInfoInt<LangOpts<"VtorDispMode">, "1">;
8629+ def fnative_int16_type : Flag<["-"], "fnative-int16-type">,
8630+ HelpText<"Use 16 bit integer types">,
8631+ // This option is implied unless we are in HLSL lang mode
8632+ ImpliedByAnyOf<[!strconcat("!", hlsl.KeyPath)]>,
8633+ MarshallingInfoFlag<LangOpts<"NativeInt16Type">>;
86298634def fnative_half_type: Flag<["-"], "fnative-half-type">,
86308635 HelpText<"Use the native half type for __fp16 instead of promoting to float">,
86318636 MarshallingInfoFlag<LangOpts<"NativeHalfType">>,
@@ -9518,7 +9523,7 @@ def emit_pristine_llvm : DXCFlag<"emit-pristine-llvm">,
95189523 HelpText<"Emit pristine LLVM IR from the frontend by not running any LLVM passes at all."
95199524 "Same as -S + -emit-llvm + -disable-llvm-passes.">;
95209525def fcgl : DXCFlag<"fcgl">, Alias<emit_pristine_llvm>;
9521- def enable_16bit_types : DXCFlag<"enable-16bit-types">, Alias<fnative_half_type>,
9526+ def enable_16bit_types : DXCFlag<"enable-16bit-types">,
95229527 HelpText<"Enable 16-bit types and disable min precision types."
95239528 "Available in HLSL 2018 and shader model 6.2.">;
95249529def fdx_rootsignature_version :
0 commit comments