iris: add support INTEL_blackhole_render
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 5 Dec 2019 12:49:12 +0000 (14:49 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 13 Feb 2020 17:05:05 +0000 (17:05 +0000)
commit4151d843236ab350a70d8e13e4e7c79d11ec7bb6
tree591f6014639c52ff081a2d75e5719c0f1873ae0d
parent6d35610bd57aacb494e49da692b5331b0e4d11b6
iris: add support INTEL_blackhole_render

v2: Use a software mechanism to manage blackhole state

v3: s/iris_batchbuffer/iris_batch/ (Ken)

v4: Fixup state transition mistake (Ken/Lionel)

v5: Cleanup iris_batch_flush (Ken)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2964>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2964>
src/gallium/drivers/iris/iris_batch.c
src/gallium/drivers/iris/iris_batch.h
src/gallium/drivers/iris/iris_screen.c
src/gallium/drivers/iris/iris_state.c