Skip to content

mesa: fix 38% decrease in display list performance of Viewperf2020/NX8_StudioAA

Marek Olšák requested to merge mareko/mesa:fix-dlist-perf into main

What does this MR do and why?

mesa: fix 38% decrease in display list performance of Viewperf2020/NX8_StudioAA

It happened because glCallList was restoring varying_vp_inputs, which caused every glCallList to process the state change again.

This loosely reverts commit 3a294ff0 "mesa: move the _mesa_set_varying_vp_inputs call to where the state changes".

Fixes: 3a294ff0 - "mesa: move the _mesa_set_varying_vp_inputs call to where the state changes"

Merge request reports