Skip to content

nir: Replace UsesStreams by ActiveStreamMask for GS

Erik Faye-Lund requested to merge kusma/mesa:nir-active_stream_mask into master

Some drivers need to know which streams are used by a geometry shader. Adding a mask of active streams makes the use of UsesStreams superfluous as it's the equivalent of:

ActiveStreamMask != (1 << 0)

This is needed by the not-yet-upstream D3D12 driver.

Edited by Erik Faye-Lund

Merge request reports