mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
nvk: Add a separate #define for SSBO alignment
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
06c798f39b
commit
7810c9171e
2 changed files with 2 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ nvk_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
|
|||
.minMemoryMapAlignment = 64,
|
||||
.minUniformBufferOffsetAlignment = NVK_MIN_UBO_ALIGNMENT,
|
||||
.minTexelBufferOffsetAlignment = NVK_MIN_UBO_ALIGNMENT,
|
||||
.minStorageBufferOffsetAlignment = NVK_MIN_UBO_ALIGNMENT,
|
||||
.minStorageBufferOffsetAlignment = NVK_MIN_SSBO_ALIGNMENT,
|
||||
.maxVertexInputAttributeOffset = 2047,
|
||||
.maxVertexInputAttributes = 32,
|
||||
.maxVertexInputBindingStride = 2048,
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#define NVK_MAX_PUSH_SIZE 128
|
||||
#define NVK_MAX_DYNAMIC_BUFFERS 64
|
||||
#define NVK_MAX_RTS 8
|
||||
#define NVK_MIN_SSBO_ALIGNMENT 64
|
||||
#define NVK_MIN_UBO_ALIGNMENT 64
|
||||
#define NVK_MAX_VIEWPORTS 16
|
||||
#define NVK_MAX_DESCRIPTOR_SIZE 16
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue