mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
v3dv: define V3D_MAX_BUFFER_RANGE
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10970>
This commit is contained in:
parent
9984ebf173
commit
f7ce44b6e5
2 changed files with 4 additions and 2 deletions
|
|
@ -62,4 +62,6 @@
|
|||
#define V3D_MAX_POINT_SIZE 512.0f
|
||||
#define V3D_MAX_LINE_WIDTH 32
|
||||
|
||||
#define V3D_MAX_BUFFER_RANGE (1 << 27)
|
||||
|
||||
#endif /* V3D_LIMITS_H */
|
||||
|
|
|
|||
|
|
@ -1081,8 +1081,8 @@ v3dv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
|||
.maxImageDimensionCube = 4096,
|
||||
.maxImageArrayLayers = 2048,
|
||||
.maxTexelBufferElements = (1ul << 28),
|
||||
.maxUniformBufferRange = (1ul << 27),
|
||||
.maxStorageBufferRange = (1ul << 27),
|
||||
.maxUniformBufferRange = V3D_MAX_BUFFER_RANGE,
|
||||
.maxStorageBufferRange = V3D_MAX_BUFFER_RANGE,
|
||||
.maxPushConstantsSize = MAX_PUSH_CONSTANTS_SIZE,
|
||||
.maxMemoryAllocationCount = mem_size / page_size,
|
||||
.maxSamplerAllocationCount = 64 * 1024,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue