OSDN Git Service

iris: Add wait fences to properly sync between render/compute
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 8 Nov 2018 22:51:16 +0000 (14:51 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
commitdb199d9d0770c3c76e6a9487b07c61513204bf8f
tree06d82617cf04eeaf6cbc5e5fd53db1250b100254
parentd69bc4ac121369ac6cfe62c1b720a9dd59bf3483
iris: Add wait fences to properly sync between render/compute

When flushing a batch due to a data dependency, we need to not only
kick off the other batch's work, but stall our execution until it
completes.  Just wait on last_syncpt after flushing it.
src/gallium/drivers/iris/iris_batch.c