[Mesa-dev] [PATCH] anv/device: Up device limits for 3D and array texture dimensions

Nanley Chery nanleychery at gmail.com
Mon Mar 7 21:40:07 UTC 2016


From: Nanley Chery <nanley.g.chery at intel.com>

The limit for these textures is 2048 not 1024.

Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
 src/intel/vulkan/anv_device.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 8aa1e61..5367375 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -421,9 +421,9 @@ void anv_GetPhysicalDeviceProperties(
    VkPhysicalDeviceLimits limits = {
       .maxImageDimension1D                      = (1 << 14),
       .maxImageDimension2D                      = (1 << 14),
-      .maxImageDimension3D                      = (1 << 10),
+      .maxImageDimension3D                      = (1 << 11),
       .maxImageDimensionCube                    = (1 << 14),
-      .maxImageArrayLayers                      = (1 << 10),
+      .maxImageArrayLayers                      = (1 << 11),
       .maxTexelBufferElements                   = 128 * 1024 * 1024,
       .maxUniformBufferRange                    = UINT32_MAX,
       .maxStorageBufferRange                    = UINT32_MAX,
-- 
2.7.2



More information about the mesa-dev mailing list