diff options
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_limits.h')
-rw-r--r-- | src/gallium/auxiliary/gallivm/lp_bld_limits.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_limits.h b/src/gallium/auxiliary/gallivm/lp_bld_limits.h index e03bac640df..87be3511d94 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_limits.h +++ b/src/gallium/auxiliary/gallivm/lp_bld_limits.h @@ -47,19 +47,21 @@ #define LP_MAX_TGSI_ADDRS 16 -#define LP_MAX_TGSI_IMMEDIATES 256 +#define LP_MAX_TGSI_IMMEDIATES 4096 #define LP_MAX_TGSI_PREDS 16 #define LP_MAX_TGSI_CONST_BUFFERS 16 /* - * For quick access we cache temps in a statically - * allocated array. This defines the maximum size - * of that array. + * For quick access we cache registers in statically + * allocated arrays. Here we define the maximum size + * for those arrays. */ #define LP_MAX_INLINED_TEMPS 256 +#define LP_MAX_INLINED_IMMEDIATES 256 + /** * Maximum control flow nesting * |