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

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

nvk: CBuf alignment reduces to 64B on Turing

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

---

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

diff --git a/src/nouveau/vulkan/nvk_physical_device.c 
b/src/nouveau/vulkan/nvk_physical_device.c
index b8f9fbec99e..aa8e746cb96 100644
--- a/src/nouveau/vulkan/nvk_physical_device.c
+++ b/src/nouveau/vulkan/nvk_physical_device.c
@@ -488,7 +488,7 @@ nvk_get_device_features(const struct nv_device_info *info,
 uint32_t
 nvk_min_cbuf_alignment(const struct nv_device_info *info)
 {
-   return 256;
+   return info->cls_eng3d >= TURING_A ? 64 : 256;
 }
 
 static void

Reply via email to