draw: add support for passing buffers to vs/gs shaders

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 11 April 2016 23:15 UTC

Like the image code, but for shader buffers this time.

c2aeeca draw: add support for passing buffers to vs/gs shaders.
src/gallium/auxiliary/draw/draw_context.c | 18 +++++++++++++++++-
src/gallium/auxiliary/draw/draw_context.h | 6 ++++++
src/gallium/auxiliary/draw/draw_gs.c | 4 +++-
src/gallium/auxiliary/draw/draw_private.h | 3 +++
src/gallium/auxiliary/draw/draw_vs_exec.c | 4 +++-
5 files changed, 32 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share