Mesa (master): Revert "llvmpipe: Use the default behavior of ALLOW_MAPPED_BUFFERS."

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 23 06:23:36 UTC 2020


Module: Mesa
Branch: master
Commit: fced3c43e7ac69d7021532c62ac6dc78515cca46
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fced3c43e7ac69d7021532c62ac6dc78515cca46

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Jul 23 15:50:19 2020 +1000

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 at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6042>

---

 src/gallium/drivers/llvmpipe/lp_screen.c | 1 +
 1 file changed, 1 insertion(+)

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;



More information about the mesa-commit mailing list