mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
nvk: Add bufferImageGranularity limit
This is the secret change everyone has been waiting for 🐸 But anyway, this change adds the bufferImageGranularity limit (which is needed by both DXVK and osu!lazer; DXVK will be a corrupted mess without it and osu!lazer simply throws an exception) The values have been scraped from https://vulkan.gpuinfo.org BTW (because of that I'm not sure if they're actually accurate) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
c4aba5b310
commit
35d85fca88
1 changed files with 1 additions and 0 deletions
|
|
@ -50,6 +50,7 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
|||
.maxImageDimensionCube = 0x8000,
|
||||
.maxPushConstantsSize = NVK_MAX_PUSH_SIZE,
|
||||
.maxMemoryAllocationCount = 1024,
|
||||
.bufferImageGranularity = pdev->dev->chipset >= 0x120 ? 0x400 : 0x10000,
|
||||
.maxFramebufferHeight = pdev->dev->chipset >= 0x130 ? 0x8000 : 0x4000,
|
||||
.maxFramebufferWidth = pdev->dev->chipset >= 0x130 ? 0x8000 : 0x4000,
|
||||
.maxFramebufferLayers = 2048,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue