Mesa (main): gallivm: increase LP_MAX_TGSI_SHADER_IMAGES from 16 to 32

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jul 14 20:00:37 UTC 2022


Module: Mesa
Branch: main
Commit: 98593360c455a1792ffbc95dac6a43a7bf91c7cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=98593360c455a1792ffbc95dac6a43a7bf91c7cc

Author: Brian Paul <brianp at vmware.com>
Date:   Wed Jun  8 13:10:57 2022 -0600

gallivm: increase LP_MAX_TGSI_SHADER_IMAGES from 16 to 32

This allows a VMware test to pass.  The comments in lp_bld_limits.h
mention SM 3.0 requirements, but we're in the SM 5.0 era...

Signed-off-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17062>

---

 src/gallium/auxiliary/gallivm/lp_bld_limits.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_limits.h b/src/gallium/auxiliary/gallivm/lp_bld_limits.h
index 69abcbb98ef..dabd671aaf9 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h
+++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h
@@ -59,7 +59,7 @@
 
 #define LP_MAX_TGSI_SHADER_BUFFER_SIZE (1 << 27)
 
-#define LP_MAX_TGSI_SHADER_IMAGES 16
+#define LP_MAX_TGSI_SHADER_IMAGES 32
 
 /*
  * For quick access we cache registers in statically



More information about the mesa-commit mailing list