From 6ec49066498097c2647d030ebe1b99a00bc38734 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 6 Jan 2020 14:25:08 -0800 Subject: [PATCH] llvmpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS. Since this is a software rasterizer, we really don't care whether the buffers are "mapped" since it's just malloc. This will drop a bit of pointless CPU overhead to throw errors. Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/llvmpipe/lp_screen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c index ca57b5ffdd9..786ab4e326d 100644 --- a/src/gallium/drivers/llvmpipe/lp_screen.c +++ b/src/gallium/drivers/llvmpipe/lp_screen.c @@ -319,7 +319,6 @@ llvmpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_PCI_DEVICE: case PIPE_CAP_PCI_FUNCTION: case PIPE_CAP_GLSL_OPTIMIZE_CONSERVATIVELY: - case PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION: return 0; case PIPE_CAP_MAX_GS_INVOCATIONS: return 32; -- 2.30.2