From af2e4a23c99b57527abb140d6bcfdb5189ae7a7e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 18 Jul 2022 09:00:01 +1000 Subject: [PATCH] lavapipe: enable variablePointers This passes the CTS with no regressions. Acked-by: Mike Blumenkrantz Part-of: --- 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;