Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/dxil.c:
return VKD3D_OK;
}
+static void sm6_parser_emit_dcl_tessellator_domain(struct sm6_parser *sm6,
enum vkd3d_tessellator_domain tessellator_domain)
+{
- struct vkd3d_shader_instruction *ins;
- if (tessellator_domain > VKD3D_TESSELLATOR_DOMAIN_QUAD)
Value zero is invalid too, isn't it? Also, I'd be in favor of introducing `VKD3D_TESSELLATOR_DOMAIN_COUNT`, and similarly for the other fields.