virgl: add initial ARB_compute_shader support

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 1 August 2018 04:00 EDT

This hooks up compute shader creation and launch grid support.

f8a8ea6a2d virgl: add initial ARB_compute_shader support
src/gallium/drivers/virgl/virgl_context.c | 55 ++++++++++++++++++++++++++--
src/gallium/drivers/virgl/virgl_encode.c | 25 ++++++++++++-
src/gallium/drivers/virgl/virgl_encode.h | 3 ++
src/gallium/drivers/virgl/virgl_hw.h | 5 +++
src/gallium/drivers/virgl/virgl_protocol.h | 11 ++++++
src/gallium/drivers/virgl/virgl_screen.c | 59 ++++++++++++++++++++++++++++--
src/gallium/drivers/virgl/virgl_winsys.h | 2 +
7 files changed, 153 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share