aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-07-19 15:52:14 +1000
committerDave Airlie <[email protected]>2019-08-27 12:29:39 +1000
commitd0381ea149747cdd73bb45b140f059d1c569c644 (patch)
tree5e38c47e597de0931c59e55733dcaac48816a612
parentcf84b46a1cd8f602341b1fce32d5f5ec41633e40 (diff)
gallivm: add a basic image limit
Reviewed-by: Roland Scheidegger <[email protected]>
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_limits.h2
1 files changed, 2 insertions, 0 deletions
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