mesa/st: only update samplers for stages that have changed
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 11 Apr 2017 01:05:22 +0000 (11:05 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 13 Apr 2017 02:08:31 +0000 (12:08 +1000)
commitfbcd709a34ccccf16796b926a3b25d6044fb614b
treece62f37eef7c9251f79bb9c90994154f69790c81
parentf30f575e7b4bdb39012709ba2dd3104a97a53ffc
mesa/st: only update samplers for stages that have changed

Might help reduce cpu for some apps that use sso.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_atom.h
src/mesa/state_tracker/st_atom_list.h
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_program.c