lavapipe: fix mesh property exports

this should match how the spec actually functions

cc: mesa-stable

Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com>
(cherry picked from commit 73feb138b6)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40488>
This commit is contained in:
Mike Blumenkrantz 2026-03-13 13:58:38 -04:00 committed by Eric Engestrom
parent 62508b76b6
commit 8af93595b9
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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,