Mesa (main): lavapipe: enable variablePointers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jul 17 23:27:57 UTC 2022


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

Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Jul 18 09:00:01 2022 +1000

lavapipe: enable variablePointers

This passes the CTS with no regressions.

Acked-by: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17587>

---

 docs/relnotes/new_features.txt              | 1 +
 src/gallium/frontends/lavapipe/lvp_device.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt
index a4b48c0e058..ccb4a55127e 100644
--- a/docs/relnotes/new_features.txt
+++ b/docs/relnotes/new_features.txt
@@ -9,3 +9,4 @@ VK_EXT_primitives_generated_query on RADV
 VK_EXT_non_seamless_cube_map on RADV, ANV
 VK_EXT_border_color_swizzle on lavapipe, ANV, turnip, RADV
 VK_EXT_shader_module_identifier on RADV
+variablePointers on lavapipe
diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index 83cda4c0d7b..3db1a381a5a 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -624,7 +624,7 @@ lvp_get_physical_device_features_1_1(struct lvp_physical_device *pdevice,
    f->multiviewGeometryShader             = true;
    f->multiviewTessellationShader         = true;
    f->variablePointersStorageBuffer       = true;
-   f->variablePointers                    = false;
+   f->variablePointers                    = true;
    f->protectedMemory                     = false;
    f->samplerYcbcrConversion              = false;
    f->shaderDrawParameters                = true;



More information about the mesa-commit mailing list