From: Dave Airlie Date: Fri, 19 Jul 2019 05:52:14 +0000 (+1000) Subject: gallivm: add a basic image limit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0381ea149747cdd73bb45b140f059d1c569c644;p=mesa.git gallivm: add a basic image limit 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 e9c5715d5b9..9be7e68badd 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h @@ -59,6 +59,8 @@ #define LP_MAX_TGSI_SHADER_BUFFER_SIZE (1 << 27) +#define LP_MAX_TGSI_SHADER_IMAGES 8 + /* * For quick access we cache registers in statically * allocated arrays. Here we define the maximum size