Skip to content

gallivm: do not approximate lambda for lodq

Erik Faye-Lund requested to merge kusma/mesa:no_lambda_approx into main

Using a log2 approximation is less problematic when sampling than when querying the LOD. So let's detect lodq, and disable this approximation, similar to what we already do for the rho_approx optimization.

While we're at it, add a GALLIVM_PERF flag for this, similar to what we do for the rho_approx option.

Merge request reports