st: add support for INTEL_blackhole_render

Graphics / Mesa 3D Graphics Library / Mesa - Lionel Landwerlin [intel.com] - 13 February 2020 17:05 EST

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)

6d35610bd57 st: add support for INTEL_blackhole_render
src/gallium/auxiliary/util/u_screen.c | 4 ++++
src/gallium/include/pipe/p_context.h | 11 +++++++++++
src/gallium/include/pipe/p_defines.h | 2 ++
src/mesa/state_tracker/st_context.c | 3 +++
src/mesa/state_tracker/st_extensions.c | 1 +
5 files changed, 21 insertions(+)

Upstream: cgit.freedesktop.org


  • Share