st/nine: Refactor DrawPrimitiveUp
authorAxel Davy <davyaxel0@gmail.com>
Sat, 6 Mar 2021 16:14:46 +0000 (17:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Sat, 13 Mar 2021 21:23:24 +0000 (21:23 +0000)
commit9168a376924c0331a83a8fe6e244708b95bfd25b
tree9312a4625427ebc47d255c242dec13fba02d597f
parent247d135f67dde9df0d32edd3315385ad8e7dc962
st/nine: Refactor DrawPrimitiveUp

. Use the same fonction as DrawPrimitive
. Drop the user vbuf path
. Avoid setting NULL vertexbuffer to the context

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9451>
src/gallium/frontends/nine/device9.c
src/gallium/frontends/nine/device9.h
src/gallium/frontends/nine/nine_state.c
src/gallium/frontends/nine/nine_state.h