gallium/radeon: use unflushed fences for deferred flushes (v2)
authorMarek Olšák <marek.olsak@amd.com>
Mon, 1 Aug 2016 22:48:04 +0000 (00:48 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 9 Aug 2016 23:11:10 +0000 (01:11 +0200)
commit3f100b77f9a80828fbb3651ea013f9dd3913d047
treee87f372c0fb54c91f568d1e87e495e266ef1ece6
parent1cc95a1255d5ba6d44e48360c6ad7e5b97c6493c
gallium/radeon: use unflushed fences for deferred flushes (v2)

+23% Bioshock Infinite performance.

v2: - use the new fence_finish interface
    - allow deferred fences with multiple contexts
    - clear the ctx pointer after a deferred flush

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.c