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@chromium.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17608>
This commit is contained in:
Yiwei Zhang 2022-07-18 22:26:15 +00:00 committed by Marge Bot
parent 83c21b5289
commit 3d42e335e4

View file

@ -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