iris: Only bother with thread ID upload if doing MEDIA_CURBE_LOAD
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Jun 2019 06:33:40 +0000 (23:33 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 27 Jun 2019 15:12:22 +0000 (08:12 -0700)
commit16d334951e7302a40c2d7814a5f8aae32ec5732c
treed8d9ab0674e3a045f9c10c18b64ca9f07fd44d9b
parent8f51f1ba6e70a7ad7027b58e4f67fe1c6e523012
iris: Only bother with thread ID upload if doing MEDIA_CURBE_LOAD

We were unconditionally uploading the new data, but then conditionally
using it with MEDIA_CURBE_LOAD.  If we're not going to emit the command,
there's no point in uploading the data.
src/gallium/drivers/iris/iris_state.c