st/mesa: don't propagate uniforms when restoring from cache
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 3 Mar 2017 05:59:48 +0000 (16:59 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 7 Mar 2017 22:45:48 +0000 (09:45 +1100)
commit20234cfe3a204eda5abb4ed757ae775e82619ba7
treed44ca3bb83314affb41c44820050e31dfb6436c2
parente25c92a72d7f2edb4e460ca29873b27fdf203c96
st/mesa: don't propagate uniforms when restoring from cache

We will have already loaded the uniforms when the parameter list
was restored from cache.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/ir_to_mesa.h
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_shader_cache.c