Skip to content

mesa/st and freedreno: Remap VARYING_SLOT_PNTC properly

Connor Abbott requested to merge cwabbott0/mesa:review/st-point-coord into master

freedreno seems to be the only Gallium driver using NIR not to enable PIPE_CAP_TGSI_TEXCOORD. The state tracker is supposed to map the special TEXCOORD varyings as well as gl_PointCoord to normal varyings in this case, but it was failing to do so for gl_PointCoord which led to a hack in ir3 that was breaking turnip.

This is one of two fixes required for gl_PointCoord to work correctly in turnip, but I thought I'd split it out for visibility as it touches mesa/st.

Merge request reports