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

Anuj Phogat anuj.phogat at gmail.com
Mon Mar 7 22:21:02 UTC 2016


On Mon, Mar 7, 2016 at 1:40 PM, Nanley Chery <nanleychery at gmail.com> wrote:
>
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list