From 3344699243b856c3bc7b8ea08a949d2e3274e871 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 22 Feb 2015 18:07:51 +0100 Subject: radeonsi: set VGT_LS_HS_CONFIG for tessellation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_pipe.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 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 */ -- cgit v1.2.3