From: Dave Airlie Date: Wed, 26 Jun 2019 05:41:33 +0000 (+1000) Subject: gallivm: add some basic SSBO limits. (v2) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e84570ba70beb340602d883641fa7c2567e22290;p=mesa.git gallivm: add some basic SSBO limits. (v2) v2: update ssbo size Reviewed-by: Roland Scheidegger --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_limits.h b/src/gallium/auxiliary/gallivm/lp_bld_limits.h index 7b66b758729..be72641bb2b 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h @@ -55,6 +55,10 @@ #define LP_MAX_TGSI_CONST_BUFFER_SIZE (LP_MAX_TGSI_CONSTS * sizeof(float[4])) +#define LP_MAX_TGSI_SHADER_BUFFERS 16 + +#define LP_MAX_TGSI_SHADER_BUFFER_SIZE (1 << 27) + /* * For quick access we cache registers in statically * allocated arrays. Here we define the maximum size