From ec9d5e181e3ae30e00abed64762945beda6d3c0e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 30 Aug 2015 03:49:15 +0200 Subject: radeonsi: don't count IB space for states, just use an upper bound MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we don't put any resource descriptors in IBs, the space used by draw calls is quite small. Reviewed-by: Alex Deucher Acked-by: Christian König --- src/gallium/drivers/radeonsi/si_pipe.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/gallium/drivers/radeonsi/si_pipe.h') 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 -- cgit v1.2.3