5704d0ad27
This field also affects triangle strip and triangle fan ordering, so we would get the incorrect (D3D) order with tessellation and geometry shaders both enabled. Instead flip clockwise/counterclockwise when the domain origin is upper-left, as radv does. Because the register is only emitted when tessellation is active which forces sysmem, it shouldn't regress performance to emit it directly instead of using a draw state. We're already very tight on draw states. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22301>