nvk: Add a separate #define for SSBO alignment
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
committed by
Marge Bot
parent
06c798f39b
commit
7810c9171e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user