OSDN Git Service

st/mesa: when changing shaders, only dirty states that are affected by them
authorMarek Olšák <marek.olsak@amd.com>
Tue, 2 Aug 2016 14:40:50 +0000 (16:40 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 12 Aug 2016 16:50:01 +0000 (18:50 +0200)
commitc323d5b8096cec3251c7a4a4269f0f7570fb274f
treea7c4e3e70b2109b34f57c85555f746aa959e0956
parent8c1775c14caf934bf56e9511099033477853d568
st/mesa: when changing shaders, only dirty states that are affected by them

This reduces the amount of state processing that has no effect.

Tested-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom.c
src/mesa/state_tracker/st_atom.h
src/mesa/state_tracker/st_cb_feedback.c
src/mesa/state_tracker/st_cb_program.c