broadcom/compiler: increase V3D_MAX_BUFFE_RANGE to 2^30 bytes
This is the minimum required by KHR_maintenance4 and there is no
reason we can't support this.
The only restriction we have is that the texture state base
address (which comes into play with texel buffers) must be aligned
to 4-bits, but this doesn't restrict the size of the buffer, only
its base address, and we already have requirements for buffer
alignment that ensure this.
Fixes: dEQP-VK.api.info.vulkan1p3_limits_validation.khr_maintenance4
Fixes: 2c388c1d ('v3dv: set maxBufferSize property')
Acked-by: Eric Engestrom <eric@igalia.com>
Tested-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18748>
This commit is contained in:
committed by
Marge Bot
parent
3417a0c4a2
commit
7eeb0fec8d
@@ -45,7 +45,7 @@
|
||||
#define V3D_MAX_POINT_SIZE 512.0f
|
||||
#define V3D_MAX_LINE_WIDTH 32
|
||||
|
||||
#define V3D_MAX_BUFFER_RANGE (1 << 27)
|
||||
#define V3D_MAX_BUFFER_RANGE (1 << 30)
|
||||
|
||||
/* Sub-pixel precission bits in the rasterizer */
|
||||
#define V3D_COORD_SHIFT 6
|
||||
|
||||
Reference in New Issue
Block a user