Skip to content

nir/lower_tex: Make the adding a 0 LOD to nir_op_tex in the VS optional.

Emma Anholt requested to merge anholt/mesa:nir-lower-tex-derivs into main

This controls the whole lowering of "make tex ops with implicit derivatives on non-implicit-derivative stages be tex ops with an explicit lod of 0 instead", but it's really hard to describe that in a git commit summary.

All existing callers get it added except:

  • nir_to_tgsi which didn't want it.
  • nouveau, which didn't want it (fixes regressions in shadowcubearray with NIR)
  • optional lowering passes in mesa/st (lower_rect, YUV lowering, etc)

Merge request reports

Loading