From: Marek Olšák Date: Sat, 28 Aug 2010 05:51:55 +0000 (+0200) Subject: r300g: set the correct value in PVS_NUM_CNTLRS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=97cbb563f82f9242a4d7588e502eb2d289eb1b36;p=mesa.git r300g: set the correct value in PVS_NUM_CNTLRS As per docs. --- diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 58d7e4ffe93..232259e21d1 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -909,7 +909,7 @@ void r300_emit_vs_state(struct r300_context* r300, unsigned size, void* state) unsigned pvs_num_slots = MIN3(vtx_mem_size / input_count, vtx_mem_size / output_count, 10); - unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count, 6); + unsigned pvs_num_controllers = MIN2(vtx_mem_size / temp_count, 5); unsigned imm_first = vs->externals_count; unsigned imm_end = vs->code.constants.Count;