iris: Create an "iris_surface_state" wrapper struct
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 15 Nov 2019 00:06:10 +0000 (16:06 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Nov 2019 23:54:54 +0000 (15:54 -0800)
commit2b09e818dc25a6b8ce583f69b90ccf735fd278dd
tree3c4ea1c789a007ebcf57f7f4d6ac241ebf3b426b
parent4c1f81ad6220db86f49f33e034764db37523425e
iris: Create an "iris_surface_state" wrapper struct

Today, we only have a state reference to the GPU buffer containing our
uploaded SURFACE_STATEs.  However, we're going to want a CPU-side copy
soon.  Making a wrapper struct means we can talk about both together,
and also put both in the field called "surface_state".
src/gallium/drivers/iris/iris_resource.h
src/gallium/drivers/iris/iris_state.c