From: Dave Airlie Date: Tue, 24 Feb 2015 06:30:05 +0000 (+1000) Subject: r600: rv670 use at least 16es/gs threads X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04efcc6c7adfda75b425f443588f0faab453ba3a;p=mesa.git r600: rv670 use at least 16es/gs threads This is specified in the docs for rv670 to work properly. Reviewed-by: Marek Olšák Cc: "10.6 11.0 11.1" Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index c59e6c0183b..1f9ae912d4f 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2213,10 +2213,11 @@ void r600_init_atom_start_cs(struct r600_context *rctx) num_temp_gprs = 4; num_gs_gprs = 0; num_es_gprs = 0; - num_ps_threads = 136; - num_vs_threads = 48; - num_gs_threads = 4; - num_es_threads = 4; + /* use limits 40 VS and at least 16 ES/GS */ + num_ps_threads = 120; + num_vs_threads = 40; + num_gs_threads = 16; + num_es_threads = 16; num_ps_stack_entries = 40; num_vs_stack_entries = 40; num_gs_stack_entries = 32;