Mesa (21.3): i965: increase BRW_MAX_UBO to 16
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Jul 19 04:42:35 UTC 2022
Module: Mesa
Branch: 21.3
Commit: 3d42e335e470d3d50372567a5790697baa71b143
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d42e335e470d3d50372567a5790697baa71b143
Author: Yiwei Zhang <zzyiwei at chromium.org>
Date: Mon Jul 18 22:26:15 2022 +0000
i965: increase BRW_MAX_UBO to 16
The new limit is legit and it's for virgl to not regress guest desktop
GL version advertised.
Signed-off-by: Yiwei Zhang <zzyiwei at chromium.org>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17608>
---
src/mesa/drivers/dri/i965/brw_context.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index bf00fe01607..ef400ed7793 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -340,7 +340,7 @@ struct brw_program {
#define BRW_MAX_TEX_UNIT 32
/** Max number of UBOs in a shader */
-#define BRW_MAX_UBO 14
+#define BRW_MAX_UBO 16
/** Max number of SSBOs in a shader */
#define BRW_MAX_SSBO 12
More information about the mesa-commit
mailing list