llvmpipe: further bump LP_MAX_TGSI_SHADER_IMAGES to 64
authorBrian Paul <brianp@vmware.com>
Sat, 16 Jul 2022 02:36:31 +0000 (20:36 -0600)
committerMarge Bot <emma+marge@anholt.net>
Wed, 21 Sep 2022 21:55:11 +0000 (21:55 +0000)
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 <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18213>

src/gallium/auxiliary/gallivm/lp_bld_limits.h

index 7c1d66a..b0b854a 100644 (file)
 #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