iris: Rework UBOs and SSBOs to use pipe_shader_buffer
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Apr 2019 06:44:15 +0000 (23:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Apr 2019 07:24:08 +0000 (00:24 -0700)
commit2f60850a3f656a053d38384c0ece97e02e3105a0
tree646b44f02fda46941cf4ee926eca90f066127db3
parent00d4019676ee879622fd4dbe0234d6c44de04725
iris: Rework UBOs and SSBOs to use pipe_shader_buffer

This unifies a bunch of the UBO and SSBO code to use common structures.
Beyond iris_state_ref, pipe_shader_buffer also gives us a buffer size,
which can be useful when filling out the surface state.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_state.c