iris: Do MEDIA_CURBE_LOAD when IRIS_DIRTY_CS is set, not constants
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Jun 2019 00:14:58 +0000 (17:14 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Jun 2019 15:12:22 +0000 (08:12 -0700)
commit8f51f1ba6e70a7ad7027b58e4f67fe1c6e523012
tree405b8059c26fc2f123dedc86e0b89b64a5baf4f1
parent85c72da1b16f02d8d270ebd9ea93fa4ea29efcb5
iris: Do MEDIA_CURBE_LOAD when IRIS_DIRTY_CS is set, not constants

We only use push the compute shader thread IDs, not any actual constant
buffer data.  So we should track the compute shader variant changing,
not constbuf changes.
src/gallium/drivers/iris/iris_state.c