pan: Add PAN_MAX_MULTIVIEW_VIEW_COUNT

Signed-off-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40537>
This commit is contained in:
Lorenzo Rossi 2026-03-26 11:45:12 +01:00 committed by Marge Bot
parent 922405ab71
commit 024c66ec0f
2 changed files with 3 additions and 1 deletions

View file

@ -82,6 +82,8 @@ enum { PAN_VERTEX_ID = 16, PAN_INSTANCE_ID = 17, PAN_MAX_ATTRIBUTE };
*/
#define PAN_MAX_PUSH 128
#define PAN_MAX_MULTIVIEW_VIEW_COUNT 8
/* Architectural invariants (Midgard and Bifrost): UBO must be <= 2^16 bytes so
* an offset to a word must be < 2^16. There are less than 2^8 UBOs */

View file

@ -917,7 +917,7 @@ panvk_per_arch(get_physical_device_properties)(
VK_SUBGROUP_FEATURE_ROTATE_CLUSTERED_BIT,
.subgroupQuadOperationsInAllStages = false,
.pointClippingBehavior = VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES,
.maxMultiviewViewCount = 8,
.maxMultiviewViewCount = PAN_MAX_MULTIVIEW_VIEW_COUNT,
.maxMultiviewInstanceIndex = UINT32_MAX,
.protectedNoFault = false,
.maxPerSetDescriptors = UINT16_MAX,