st/glsl: make sure to propagate initialisers to driver storage
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 29 May 2019 03:13:44 +0000 (13:13 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 4 Jun 2019 01:36:45 +0000 (11:36 +1000)
commitfea36a8f43ea010ce0581a63b4b5fa1213a35982
tree972d666bd1318ac2388976c250279353064d204b
parent61de825e11e946b7fabb09fae60043539148108c
st/glsl: make sure to propagate initialisers to driver storage

This essentially reverts 20234cfe3a20.

Fixes piglit test:
tests/spec/arb_get_program_binary/execution/uniform-after-restore.shader_test

Fixes: 20234cfe3a20 "st/mesa: don't propagate uniforms when restoring from cache"
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110784
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