From 8af93595b96bccc2428230ab17693f1484b51437 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 13 Mar 2026 13:58:38 -0400 Subject: [PATCH] lavapipe: fix mesh property exports this should match how the spec actually functions cc: mesa-stable Reviewed-by: Konstantin Seurer (cherry picked from commit 73feb138b6cb7502f97dd9710afc126c65775df1) Part-of: --- .pick_status.json | 2 +- src/gallium/frontends/lavapipe/lvp_device.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 81dbefcdbfe..88fb260a2cc 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -104,7 +104,7 @@ "description": "lavapipe: fix mesh property exports", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 5594dc12d14..4032a7587bd 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -1260,7 +1260,8 @@ lvp_get_properties(const struct lvp_physical_device *device, struct vk_propertie .maxMeshOutputComponents = 128, /* 32x vec4 min required */ .maxMeshOutputVertices = 256, .maxMeshOutputPrimitives = 256, - .maxMeshOutputLayers = 8, + .maxMeshOutputLayers = 9, + .maxMeshMultiviewViewCount = 1, /* 1 means unsupported */ .meshOutputPerVertexGranularity = 1, .meshOutputPerPrimitiveGranularity = 1, .maxPreferredTaskWorkGroupInvocations = 64,