radeonsi: emit DRAW_PREAMBLE only if it changes
authorMarek Olšák <marek.olsak@amd.com>
Sun, 7 Dec 2014 19:23:56 +0000 (20:23 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 10 Dec 2014 20:59:37 +0000 (21:59 +0100)
commit834bee42ed45b1f993694c27aedd2f24d77d35f1
treef3eafc807fa4209bcb5585f8a36a239db305c42d
parentc4660935125a428ee7a108acc29b46d2801682a8
radeonsi: emit DRAW_PREAMBLE only if it changes

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_hw_context.c
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_state_draw.c