Skip to content

radv: optimize viewport transform calcs

Mike Blumenkrantz requested to merge zmike/mesa:radv-viewport into main

calculating the transform to emit can cost 5% of cpu time in some cases when meta operations are heavily used and the same viewport transform is continually recalculated, so instead just calculate it once and store it for later

first patch grabbed out of the ngg culling series

Merge request reports