Skip to content

st/mesa: Treat vertex outputs absent in outputMapping as zero in mesa_to_tgsi

Danylo Piliaiev requested to merge GL/mesa:fix/3365-arb-vp-output-mapping into master

After updating vertex outputs being written based on optimized NIR, they may go out of sync with outputs in mesa IR. Which is translated to TGSI and used together with NIR if draw doesn't have llvm.

It's much easier to treat such outputs as zero because there is no pass to entirely get rid of them.

Similar to eeab9c93 but now for outputs.

Fixes: d684fb37
Closes: #3365 (closed)

Test: piglit!357 (merged)

Edited by Danylo Piliaiev

Merge request reports