mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
nvk: Use max_image_dimension for maxFramebufferWidth/Height
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34281>
(cherry picked from commit 65d06d91ca)
This commit is contained in:
parent
79f960cb1d
commit
9dd82a2e74
2 changed files with 3 additions and 3 deletions
|
|
@ -914,7 +914,7 @@
|
|||
"description": "nvk: Use max_image_dimension for maxFramebufferWidth/Height",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -802,8 +802,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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue