summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/opt_dead_code.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-04-27 15:41:19 +1000
committerTimothy Arceri <[email protected]>2017-02-17 11:18:43 +1100
commit794f7326bcc3ffb7ab473d2c10a8c81ff4958167 (patch)
tree1efd2f1eaae2fe03ee0d6ae05db83cb69e06224b /src/compiler/glsl/opt_dead_code.cpp
parent0e9991f957e296f46cfff40a94ffba0adf2a58e1 (diff)
glsl: don't lose uniform values when falling back to full compile
Here we skip the recreation of uniform storage if we are relinking after a cache miss. This is improtant because uniform values may have already been set by the application and we don't want to reset them. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_dead_code.cpp')
0 files changed, 0 insertions, 0 deletions