summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_ubo_reference.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-03-25 18:34:31 -0700
committerIan Romanick <[email protected]>2014-05-02 07:17:34 -0700
commitca21cffebd063354291d561eadc2ded8795a5333 (patch)
tree2ae9ac0639929bacf9bdd502682d572e68bd0a93 /src/glsl/lower_ubo_reference.cpp
parent4a868a984d6ae73eb38a69b045b004663cdac20c (diff)
meta: Fix saving the program pipeline state
This code was broken in some odd ways before. Too much state was being saved, it was being restored in the wrong order, and in the wrong way. The biggest problem was that the pipeline object was restored before restoring the programs attached to the default pipeline. Fixes a regression in the glean texgen test. v3: Fairly significant re-write. I think it's much cleaner now, and it avoids a bug with some meta ops that use shaders (reported by Chia-I). v4: Check Pipeline.Current against NULL instead of Pipeline.Default. Suggested by Chia-I. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/glsl/lower_ubo_reference.cpp')
0 files changed, 0 insertions, 0 deletions