summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-08-30 03:49:15 +0200
committerMarek Olšák <[email protected]>2015-09-01 21:51:15 +0200
commitec9d5e181e3ae30e00abed64762945beda6d3c0e (patch)
treed69a1c885e705f3466277231ac323cd06ed23a91 /src/gallium/drivers/radeonsi/si_pipe.h
parentfc95058add3d7a90220548e0bb5679d97264f3d2 (diff)
radeonsi: don't count IB space for states, just use an upper bound
Since we don't put any resource descriptors in IBs, the space used by draw calls is quite small. Reviewed-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index ba5dd1dbf77..abdc900ece6 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -43,13 +43,6 @@
#define SI_RESTART_INDEX_UNKNOWN INT_MIN
#define SI_NUM_SMOOTH_AA_SAMPLES 8
-#define SI_TRACE_CS_DWORDS 7
-
-#define SI_MAX_DRAW_CS_DWORDS \
- (/*scratch:*/ 3 + /*derived prim state:*/ 3 + \
- /*draw regs:*/ 18 + /*draw packets:*/ 31 +\
- /*derived tess state:*/ 19)
-
/* Instruction cache. */
#define SI_CONTEXT_INV_ICACHE (R600_CONTEXT_PRIVATE_FLAG << 0)
/* Cache used by scalar memory (SMEM) instructions. They also use TC