nvk: Use max_image_dimension for maxFramebufferWidth/Height
Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34281>
This commit is contained in:
@@ -819,8 +819,8 @@ nvk_get_device_properties(const struct nvk_instance *instance,
|
||||
.minInterpolationOffset = -0.5,
|
||||
.maxInterpolationOffset = 0.4375,
|
||||
.subPixelInterpolationOffsetBits = 4,
|
||||
.maxFramebufferHeight = info->cls_eng3d >= PASCAL_A ? 0x8000 : 0x4000,
|
||||
.maxFramebufferWidth = info->cls_eng3d >= PASCAL_A ? 0x8000 : 0x4000,
|
||||
.maxFramebufferHeight = nvk_image_max_dimension(info, VK_IMAGE_TYPE_2D),
|
||||
.maxFramebufferWidth = nvk_image_max_dimension(info, VK_IMAGE_TYPE_2D),
|
||||
.maxFramebufferLayers = 2048,
|
||||
.framebufferColorSampleCounts = sample_counts,
|
||||
.framebufferDepthSampleCounts = sample_counts,
|
||||
|
||||
Reference in New Issue
Block a user