Module: Mesa
Branch: main
Commit: 08222146acdd1acda1acf4ccc19c4266ad3b6b46
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=08222146acdd1acda1acf4ccc19c4266ad3b6b46

Author: Faith Ekstrand <[email protected]>
Date:   Sat Dec  9 18:07:04 2023 -0600

nak: Reduce minStorageBufferAlignment

The only real requirement here is that we can load an entire vec4 at a
time without getting a misaligned address.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26617>

---

 src/nouveau/vulkan/nvk_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nouveau/vulkan/nvk_private.h b/src/nouveau/vulkan/nvk_private.h
index 6ede6ae49f3..06924f081ea 100644
--- a/src/nouveau/vulkan/nvk_private.h
+++ b/src/nouveau/vulkan/nvk_private.h
@@ -14,7 +14,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_SSBO_ALIGNMENT 16
 #define NVK_MIN_TEXEL_BUFFER_ALIGNMENT 16
 #define NVK_MIN_UBO_ALIGNMENT 64
 #define NVK_MAX_VIEWPORTS 16

Reply via email to