st: add support for INTEL_blackhole_render
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Thu, 5 Dec 2019 12:46:51 +0000 (14:46 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 13 Feb 2020 17:05:05 +0000 (17:05 +0000)
commit6d35610bd57aacb494e49da692b5331b0e4d11b6
tree29d0e5950cfd12b6893e5a4d7affe7525849efdc
parent5d7e9edba1876523f75c74362242aaa56629fba5
st: add support for INTEL_blackhole_render

Adding a new CSO proved to be fairly difficult especially because this
extension affect draw/dispatch/blit alike.

Instead this change passes the state of the noop into the entry points
emitting the operations affected.

v2: Fix assert in default pipe caps

v3: Drop whitespace changes (Ken)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2964>
src/gallium/auxiliary/util/u_screen.c
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_extensions.c