mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
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:
parent
922405ab71
commit
024c66ec0f
2 changed files with 3 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue