Skip to content

mesa,gallium: Revert "Make point coord origin a CAP"

Alyssa Rosenzweig requested to merge alyssa/mesa:mesa/remove-pntc-cap into main

This reverts commit e749f67f, which added a CAP to support drivers that can only do upside-down point coordinates. That was added specifically for Asahi, since Metal's point coordinate convention is opposite Mesa's. Since then, additional reverse-engineering aided by the PowerVR headers led me to the bit doing the flip in hardware, so Asahi does not use the CAP since baadc1ec ("asahi: Don't use lower_wpos_pntc"). Garbage collect it.

[If it's needed for future hardware, we can revive it. But the plan is Vulkan anyway.]

Signed-off-by: Alyssa Rosenzweig alyssa@collabora.com Suggested-by: Erik Faye-Lund erik.faye-lund@collabora.com

Cc @kusma

Merge request reports