HLSL: allow non-vec3 tessellation coordinate declarations
HLSL requires vec2 tessellation coordinate declarations in some cases
(e.g, isoline topology), where SPIR-V requires the TessCoord qualified
builtin to be a vec3 in all cases. This alters the IO form of the
variable to be a vec3, which will be copied to the shader's declared
type if needed. This is not a validation; the shader type must be correct.
Showing
Test/baseResults/hlsl.domain.3.tese.out
0 → 100644
This diff is collapsed.
Click to expand it.
Test/hlsl.domain.3.tese
0 → 100644
Please
register
or
sign in
to comment