-
HLSL: require tessellation factors to be fixed size arrays · 194f0f39steve-lunarg authored
SPIR-V requires that tessellation factor arrays be size 4 (outer) or 2 (inner). HLSL allows other sizes such as 3, or even scalars. This commit converts between them by forcing the IO types to be the SPIR-V size, and allowing copies between the internal and IO types to handle these cases.
194f0f39
×