draw/gs: only allocate memory for streams needed.
authorDave Airlie <airlied@redhat.com>
Fri, 19 Jun 2020 06:17:48 +0000 (16:17 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Jul 2020 20:06:05 +0000 (06:06 +1000)
commit87a388fb29c35af9ecab9fa6eb98c7ee25306ec0
treed5eaf821d91d921b8848a8e4b37c333a70aa6a4e
parent903b5814b5c22680b9a3a74af885aa3ca99fa302
draw/gs: only allocate memory for streams needed.

This just allocates the sizeing for streams that are needed.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5555>
src/gallium/auxiliary/draw/draw_gs.c