Skip to content

nir/zink: use sysvals in `nir_create_passthrough_gs`

Antonino Maniscalco requested to merge antonino/mesa:passthrough_gs_sysvals into main

Previously the passthrough gs shader loaded some values with uniform loads using sevaral hardcoded values.

This was not flexible for other drivers and started becoming too unflexible for zink itself.

Use sysvtem values instead and use a lowering pass in zink.

Merge request reports