Revert "llvmpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS."
authorDave Airlie <airlied@redhat.com>
Thu, 23 Jul 2020 05:50:19 +0000 (15:50 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 23 Jul 2020 06:10:12 +0000 (16:10 +1000)
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>

src/gallium/drivers/llvmpipe/lp_screen.c

index c62786b94863a6210e5664c011d03b4a8107480a..ac33b01ed8af84df3b8f07ad87ade484827c6de1 100644 (file)
@@ -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;