mesa/src/microsoft
Virgile Bello 1d923fdd2b microsoft/compiler, d3d12: flip tess winding at caller, not in nir_to_dxil
get_tessellator_output_primitive used to unconditionally invert CW<->CCW
on the assumption the input was GL-origin (lower-left). That was wrong
for any upper-left caller — including spirv_to_dxil, whose SPIR-V sources
(DXC, glslang) already align with D3D winding.

Make nir_to_dxil copy info.tess.ccw through and expect upper-left. The
d3d12 gallium driver (GL) flips before the conversion to preserve its
output. spirv_to_dxil and dozen (Vulkan, UPPER_LEFT default) are unchanged.

Assisted-by: Claude Opus 4.7 <noreply@anthropic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41028>
2026-04-23 18:45:01 +00:00
..
ci ci: Bump DirectX-Headers and Agility SDK dependencies to v1.619.1 2026-03-10 15:06:44 +00:00
clc spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
compiler microsoft/compiler, d3d12: flip tess winding at caller, not in nir_to_dxil 2026-04-23 18:45:01 +00:00
spirv_to_dxil spirv,treewide: rework specialization constant 2026-04-22 06:57:55 +00:00
vulkan nir: introduce nir_descriptor_type for Vulkan like descriptors 2026-03-31 07:16:20 +00:00
meson.build d3d12: Do not build microsoft/compiler when graphics, gl or vk disabled 2025-05-08 14:17:22 +00:00