================
@@ -753,7 +753,10 @@ def err_drv_hlsl_unsupported_target : Error<
"HLSL code generation is unsupported for target '%0'">;
def err_drv_hlsl_bad_shader_required_in_target : Error<
"%select{shader model|Vulkan environment|shader stage}0 is required as
%select{OS|environment}1 in target '%2' for HLSL code generation">;
-
+def err_drv_dxc_enable_16bit_types_option_invalid: Error<
+ "enable-16bit-types option only valid when target shader model [-T] is >=
6.2 and HLSL Version [-HV] is >= 2021">;
+def err_drv_cc1_hlsl_spirv_fnative_half_type_option_invalid: Error<
+ "fnative-half-type option only valid when hlsl language standard version is
>= 2021">;
----------------
bogner wrote:
When printing option flags in diagnostics they're usually in single quotes and
include the leading dash, like `'-enable-16bit-types' option is only valid...`
https://github.com/llvm/llvm-project/pull/85340
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits