Skip to content

nir: Add more system values for lowering XFB

Alyssa Rosenzweig requested to merge alyssa/mesa:nir/more-xfb-sysvals into main

Add more system values for XFB. This should be good enough for lowering GL3.1 + transform_feedback2 + transform_feedback3. More will probably be needed for geom/tess but that will be easier to work with when I'm actually bringing up geom/tess. At any rate, we're splitting out XFB from the rasterization pipeline and since XFB happens only in the last shader pre-rasterization stage, VS+XFB is an orthogonal problem from e.g. VS+GS+XFB. Yeah, the combinatorics suck.

These will be used by Asahi, and hopefully eventually Panfrost.


For the full merge request, see asahi/mesa!16 (merged)

Edited by Alyssa Rosenzweig

Merge request reports