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/r600/r600_pipe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r600/r600_pipe.c') diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c index e4aa8868b93..fd01672c1d1 100644 --- a/src/gallium/drivers/r600/r600_pipe.c +++ b/src/gallium/drivers/r600/r600_pipe.c @@ -287,6 +287,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param) case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_TGSI_MUL_ZERO_WINS: case PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX: + case PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION: return 1; case PIPE_CAP_DEVICE_RESET_STATUS_QUERY: -- cgit v1.2.3