Module: Mesa
Branch: master
Commit: 9248b045287658884456b2c77b652a9d8c862719
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=9248b045287658884456b2c77b652a9d8c862719

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Tue Apr 28 17:04:25 2020 +0200

radv: Expose 4G element texel buffers.

Old value seems to be copied from anv.

Reviewed-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4787>

---

 src/amd/vulkan/radv_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index ccd21acea26..10571531621 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -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,

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to