On Tue Aug 15 23:20:10 2023 +0000, Zebediah Figura wrote:
MSDN documentation notwithstanding, they don't fall into the same category as everything else there (i.e., they're not a numeric type, and can't form vectors and matrices). Arguably we should rename HLSL_TYPE_LAST_SCALAR to HLSL_TYPE_LAST_NUMERIC, but then what we really should be doing is to split this enumeration into two separate enumerations. That's been on the list for a while, though, so for now I'd just leave the enumeration as-is.
I'd need to specially splice the STRING type into the place where the types are registered then ... is that OK?