freedreno: add image view state tracking
authorRob Clark <robdclark@gmail.com>
Sat, 4 Nov 2017 15:14:09 +0000 (11:14 -0400)
committerRob Clark <robdclark@gmail.com>
Sun, 12 Nov 2017 17:28:59 +0000 (12:28 -0500)
commit13fe1feb627752a0220882b1999bd8597fdbad3b
tree4f1b675ed8681c86b08e42296c02cc4c67420447
parent12c1c3ab2349cff1f9a9be62b7d32b8ed49552b5
freedreno: add image view state tracking

It is unfortunate that image state isn't a real CSO, since (at least for
a4xx/a5xx) it is a combination of sampler and "SSBO" image state, and it
would be useful to pre-compute the state block "register" values rather
than doing it at emit time.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_state.c