summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2020-07-23 15:50:19 +1000
committerDave Airlie <airlied@redhat.com>2020-07-23 16:10:12 +1000
commitfced3c43e7ac69d7021532c62ac6dc78515cca46 (patch)
treeb61703652b1c6394a95dc9b4d699cf89ca709e37 /src/gallium/drivers/llvmpipe
parentbe6c53bb9d3dd0c48bf956d566006e3372fbfdc4 (diff)
Revert "llvmpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS."
This reverts commit 6ec49066498097c2647d030ebe1b99a00bc38734. This broke: GTF-GL45.gtf21.GL3Tests.texture_lod_bias.* not sure why but revert for now. Reviewed-by: Eric Anholt <eric@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6042>
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
index c62786b9486..ac33b01ed8a 100644
--- a/src/gallium/drivers/llvmpipe/lp_screen.c
+++ b/src/gallium/drivers/llvmpipe/lp_screen.c
@@ -323,6 +323,7 @@ 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;