radeonsi: prevent recursion in si_context_gfx_flush
authorMarek Olšák <marek.olsak@amd.com>
Sat, 7 Nov 2015 11:22:56 +0000 (12:22 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 13 Nov 2015 18:54:41 +0000 (19:54 +0100)
commit3d963abc81789870d86257956a8fc24f7c6b661b
tree5278f7f0043fe7f83283d0a53bf3a69f7294b86a
parent8569f9a87ec8d1bea3946476d5cc0be2a58ea149
radeonsi: prevent recursion in si_context_gfx_flush

The recursion can only occur if you modify need_cs_space to always flush.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_hw_context.c
src/gallium/drivers/radeonsi/si_pipe.h