HLSL can index arrays using operator[] with non-integer types, and inserts a conversion to a uint if needed.
13 KiB
13 KiB
HLSL can index arrays using operator[] with non-integer types, and inserts a conversion to a uint if needed.