mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 18:58:10 +02:00
radv: reduce maxTexelBufferElements to 1<<29
It's the number of elements. RADV exposes VK_FORMAT_R64_{UINT,SINT}
formats for texel buffers, so the maximum is 1<<29 to fit in the
32-bit bounds checking.
Fixes KHR-GL46.texture_buffer_size_clamping.* with Zink and new VKCTS
dEQP-VK.texture.misc.max_elements.*.
Cc: mesa-stable.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39003>
This commit is contained in:
parent
e4049a3a07
commit
3e098dc352
1 changed files with 1 additions and 1 deletions
|
|
@ -1527,7 +1527,7 @@ radv_get_physical_device_properties(struct radv_physical_device *pdev)
|
|||
.maxImageDimension3D = (1 << 11),
|
||||
.maxImageDimensionCube = (1 << 14),
|
||||
.maxImageArrayLayers = (1 << 11),
|
||||
.maxTexelBufferElements = UINT32_MAX,
|
||||
.maxTexelBufferElements = 512 * 1024 * 1024,
|
||||
.maxUniformBufferRange = UINT32_MAX,
|
||||
.maxStorageBufferRange = UINT32_MAX,
|
||||
.maxPushConstantsSize = MAX_PUSH_CONSTANTS_SIZE,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue