From 50189379fa6b2b8f30b2f41acfacf9cad1ea2523 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 15 May 2017 16:30:30 +0200 Subject: gallium: add PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit for skipping mapped-buffer checking in every GL draw call Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/i915/i915_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/i915/i915_screen.c') diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index ae0a495e9d8..1cf9441ef11 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -307,6 +307,7 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) case PIPE_CAP_TGSI_BALLOT: case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT: case PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX: + case PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION: return 0; case PIPE_CAP_MAX_VIEWPORTS: -- cgit v1.2.3