diff options
| author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2025-10-21 08:48:28 +0200 |
|---|---|---|
| committer | Marge Bot <marge-bot@fdo.invalid> | 2025-10-23 07:56:39 +0000 |
| commit | 22cb7b5fe2095e3e8c1a175c0e83644533cf8730 (patch) | |
| tree | fb6d9cdd3a16cb5f74b3940858b4c9115c028f01 | |
| parent | 002ebb4fe57584d1e0b19e4644232a6404803b71 (diff) | |
radv: bump image limit properties on GFX12
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14150
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37974>
| -rw-r--r-- | src/amd/vulkan/radv_physical_device.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_physical_device.c b/src/amd/vulkan/radv_physical_device.c index c3b053abe86..5e1ca1045da 100644 --- a/src/amd/vulkan/radv_physical_device.c +++ b/src/amd/vulkan/radv_physical_device.c @@ -1480,7 +1480,14 @@ radv_init_image_properties(struct radv_physical_device *pdev) { uint32_t width, height, depth; - if (pdev->info.gfx_level >= GFX10) { + if (pdev->info.gfx_level >= GFX12) { + /* GFX12 supports 64K but it's not reported because this would prevent 16-bit texture compiler + * optimizations. + */ + width = 32768; + height = 32768; + depth = 16384; + } else if (pdev->info.gfx_level >= GFX10) { width = 16384; height = 16384; depth = 8192; |