Skip to content

radv/rt: Fix frontface culling with emulated RT

Friedrich Vock requested to merge pixelcluster/mesa:radv-emulated-culling into main

We need to preserve the divisor's sign for front/backface detection to work correctly.

Just passing the divisor directly (sadly) won't really work because we'd need to convert to 32bit, introducing precision issues.

Merge request reports