radv: Expose 4G element texel buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 28 Apr 2020 15:04:25 +0000 (17:04 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 07:05:04 +0000 (07:05 +0000)
Old value seems to be copied from anv.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4787>

src/amd/vulkan/radv_device.c

index ccd21acea26866aa61e6ff4f0a0a3a8215679727..10571531621e9342bd0f83fff8002ed0a89de222 100644 (file)
@@ -1295,7 +1295,7 @@ void radv_GetPhysicalDeviceProperties(
                .maxImageDimension3D                      = (1 << 11),
                .maxImageDimensionCube                    = (1 << 14),
                .maxImageArrayLayers                      = (1 << 11),
-               .maxTexelBufferElements                   = 128 * 1024 * 1024,
+               .maxTexelBufferElements                   = UINT32_MAX,
                .maxUniformBufferRange                    = UINT32_MAX,
                .maxStorageBufferRange                    = UINT32_MAX,
                .maxPushConstantsSize                     = MAX_PUSH_CONSTANTS_SIZE,