summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-02-22 18:07:51 +0100
committerMarek Olšák <[email protected]>2015-07-23 00:59:33 +0200
commit3344699243b856c3bc7b8ea08a949d2e3274e871 (patch)
tree543223738b416e20dbb2cc94236864775efca1ac /src/gallium/drivers/radeonsi/si_pipe.h
parent09d02fa463b7207464c99ca887e253476fde851e (diff)
radeonsi: set VGT_LS_HS_CONFIG for tessellation
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index ad3677435e4..7b2263b1162 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -48,7 +48,7 @@
#define SI_MAX_DRAW_CS_DWORDS \
(/*scratch:*/ 3 + /*derived prim state:*/ 3 + \
- /*draw regs:*/ 16 + /*draw packets:*/ 31 +\
+ /*draw regs:*/ 18 + /*draw packets:*/ 31 +\
/*derived tess state:*/ 19)
/* Instruction cache. */
@@ -234,6 +234,7 @@ struct si_context {
int last_gs_out_prim;
int last_prim;
int last_multi_vgt_param;
+ int last_ls_hs_config;
int last_rast_prim;
unsigned last_sc_line_stipple;
int current_rast_prim; /* primitive type after TES, GS */