From 9fbb77445c0def196bcf4db583d8ab633e6cf684 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 15 Jul 2022 20:36:31 -0600 Subject: [PATCH] llvmpipe: further bump LP_MAX_TGSI_SHADER_IMAGES to 64 I previously bumped this to 32, but we need at least 64 to pass a few other VMware tests (e.g. dx11-slots-uav-write-vs-gs-all-64). Also update/generalize a comment. Signed-off-by: Brian Paul Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_limits.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_limits.h b/src/gallium/auxiliary/gallivm/lp_bld_limits.h index 7c1d66a..b0b854a 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h @@ -37,10 +37,7 @@ #include "util/u_cpu_detect.h" /* - * TGSI translation limits. - * - * Some are slightly above SM 3.0 requirements to give some wiggle room to - * the gallium frontends. + * llvmpipe shader limits */ #define LP_MAX_TGSI_TEMPS 4096 @@ -59,7 +56,7 @@ #define LP_MAX_TGSI_SHADER_BUFFER_SIZE (1 << 27) -#define LP_MAX_TGSI_SHADER_IMAGES 32 +#define LP_MAX_TGSI_SHADER_IMAGES 64 /* * For quick access we cache registers in statically -- 2.7.4