From e84570ba70beb340602d883641fa7c2567e22290 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 26 Jun 2019 15:41:33 +1000 Subject: [PATCH] gallivm: add some basic SSBO limits. (v2) v2: update ssbo size Reviewed-by: Roland Scheidegger --- src/gallium/auxiliary/gallivm/lp_bld_limits.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2