Skip to content

zink: Fix spirv stream 0 vertex emit for multistream shaders

Soroush Faghihi requested to merge Soroush/mesa:zink-fix-mulistream-emit into main

Spirv spec does not allow the use of OpEmitVertex or OpEndPrimitive when there are multiple streams. Instead emit the multi-stream version of these with stream set to 0.

Fixes: 35e346f4 ("zink: handle vertex streams")

/cc @zmike

Merge request reports