draw: fix gs vertex stream counting
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 22 Mar 2022 16:22:35 +0000 (12:22 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Mar 2022 04:08:14 +0000 (04:08 +0000)
commit32f117f5f8d746bdafb9a62cd01b0878df4f0e81
tree5f0d9cd9ca3b7ed32e3334455d70cae14d2d9ef1
parent03d342e4b2988879f6981f5df11ff6540e4a5b85
draw: fix gs vertex stream counting

this can't be determined from pipe_shader_state::stream_output,
as this only contains xfb info, which is not the same as the vertex
stream info, and may break primitives generated queries

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15506>
src/gallium/auxiliary/draw/draw_gs.c