virgl: add initial shader_storage_buffer_object support. (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 17 Jul 2018 07:24:29 +0000 (17:24 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Jul 2018 19:54:21 +0000 (05:54 +1000)
commit958b57ac82549a662631ac2d2e2f1654178a8a42
tree9b42836ddf8786577bd9958e9630cd534410d1d2
parente4d346c86db0ae332fcdf55eac0e075cfb99a7eb
virgl: add initial shader_storage_buffer_object support. (v2)

This adds the guest side support for ARB_shader_storage_buffer_object.

Co-authors: Gurchetan Singh <gurchetansingh@chromium.org>

v2: move to using separate maximums
(fixup macros)

Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/virgl/virgl_buffer.c
src/gallium/drivers/virgl/virgl_context.c
src/gallium/drivers/virgl/virgl_context.h
src/gallium/drivers/virgl/virgl_encode.c
src/gallium/drivers/virgl/virgl_encode.h
src/gallium/drivers/virgl/virgl_hw.h
src/gallium/drivers/virgl/virgl_protocol.h
src/gallium/drivers/virgl/virgl_resource.h
src/gallium/drivers/virgl/virgl_screen.c