Mesa (main): lavapipe: enable subgroup quad operations

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 11 21:21:32 UTC 2022


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

Author: Autumn on Tape <autumn at cyfox.net>
Date:   Wed May  4 17:45:22 2022 -0700

lavapipe: enable subgroup quad operations

Signed-off-by: Autumn on Tape <autumn at cyfox.net>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16340>

---

 src/gallium/frontends/lavapipe/lvp_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index 31c1da068e9..1a09b37affe 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -1016,7 +1016,7 @@ lvp_get_physical_device_properties_1_1(struct lvp_physical_device *pdevice,
    p->subgroupQuadOperationsInAllStages = false;
 
 #if LLVM_VERSION_MAJOR >= 10
-   p->subgroupSupportedOperations |= VK_SUBGROUP_FEATURE_SHUFFLE_BIT | VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT;
+   p->subgroupSupportedOperations |= VK_SUBGROUP_FEATURE_SHUFFLE_BIT | VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT | VK_SUBGROUP_FEATURE_QUAD_BIT;
 #endif
 
    p->pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES;



More information about the mesa-commit mailing list