anv/device: Up device limits for 3D and array texture dimensions
authorNanley Chery <nanley.g.chery@intel.com>
Sat, 5 Mar 2016 23:17:00 +0000 (15:17 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 7 Mar 2016 23:21:50 +0000 (15:21 -0800)
The limit for these textures is 2048 not 1024.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/intel/vulkan/anv_device.c

index 816f780c6ffd102c77318b962f43281d4cf0af63..44eb0ed2d6c506f604b491baf67e5202391bf180 100644 (file)
@@ -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,