projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
242c5dd
)
nvk: report maxMipLevels as 1
author
Karol Herbst
<kherbst@redhat.com>
Thu, 9 Jun 2022 18:18:44 +0000
(20:18 +0200)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:53 +0000
(21:31 +0000)
the CTS uses that value in some places
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_physical_device.c
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_physical_device.c
b/src/nouveau/vulkan/nvk_physical_device.c
index
22c67e2
..
7ef5fa0
100644
(file)
--- a/
src/nouveau/vulkan/nvk_physical_device.c
+++ b/
src/nouveau/vulkan/nvk_physical_device.c
@@
-432,7
+432,7
@@
nvk_GetPhysicalDeviceImageFormatProperties2(VkPhysicalDevice physicalDevice,
else
return VK_ERROR_FORMAT_NOT_SUPPORTED;
- base_props->imageFormatProperties.maxMipLevels =
0
;
+ base_props->imageFormatProperties.maxMipLevels =
1
;
base_props->imageFormatProperties.maxArrayLayers = 2048;
base_props->imageFormatProperties.sampleCounts = 0;
base_props->imageFormatProperties.maxResourceSize = 0xffffffff; // TODO proper value