================
@@ -243,6 +243,7 @@ ENUM_LANGOPT(HLSLVersion, HLSLLangStd, 16, HLSL_Unset,
NotCompatible, "HLSL Vers
LANGOPT(HLSLStrictAvailability, 1, 0, NotCompatible,
"Strict availability diagnostic mode for HLSL built-in functions.")
LANGOPT(HLSLSpvUseUnknownImageFormat, 1, 0, NotCompatible, "For storage images
and texel buffers, sets the default format to 'Unknown' when not specified via
the `vk::image_format` attribute. If this option is not used, the format is
inferred from the resource's data type.")
+VALUE_LANGOPT(HLSLMaxMatrixDimension, 32, 4, NotCompatible, "maximum allowed
matrix dimension")
----------------
llvm-beanz wrote:
Does this need to be a language option? Since it is just for HLSL it will
always be 4.
https://github.com/llvm/llvm-project/pull/159446
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits