Skip to content

gallium: handle primconvert, prim-restart, and 8bit index translation

Mike Blumenkrantz requested to merge zmike/mesa:gallium-primconvert into main

this allows drivers to stop needing to handle these things and moves the work to the state tracker, which:

  • reduces the likelihood of bugs by moving to a common interface
  • eliminates the burden of handling these features for new drivers
  • (key point) reduces driver overhead by getting draw rewriting out of the driver thread and moving it to the site of the rest of the draw rewriting

the implementation passes 100% of piglit and cts cases and is even more accurate than zink's current implementation (https://gitlab.freedesktop.org/zmike/mesa/-/pipelines/324880)

all other drivers remain functionally unchanged; maintainers can enable the new features on their own after testing to ensure that things will work as expected for them.

!10928 (closed) !10964 (merged) !10965 (merged) !10966 (merged) are split from this

#4779 (closed)

Edited by Mike Blumenkrantz

Merge request reports

Loading