st/mesa: remove excessive shader state dirtying
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Jul 2016 18:37:58 +0000 (20:37 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jul 2016 13:02:14 +0000 (15:02 +0200)
commit79dcd69afae4ada47fd4e746e9eec87c6d8028f0
tree745e9f03a097f4d00f4ab39e0870e90b4d9be571
parent1f73e2bb942783bf143185a58d2290fda2b08c81
st/mesa: remove excessive shader state dirtying

This just needs to be done by st_validate_state.

v2: add "shaders_may_be_dirty" flags for not skipping st_validate_state
    on _NEW_PROGRAM to detect real shader changes

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_atom.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_compute.c
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_context.h
src/mesa/state_tracker/st_draw.c