diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-09-04 20:53:31 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-09-04 20:53:31 +0200 |
commit | 580084e9e1d0355c96a54a9641df6c1fee894948 (patch) | |
tree | 5aff416b5aed2ca9e326054567d837f28c20ed25 /gfx/angle/src/libANGLE/Program.cpp | |
parent | fc61780b35af913801d72086456f493f63197da6 (diff) | |
parent | b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9 (diff) | |
download | UXP-dd17f80d9cc4f9cd4eb03602329813b2338c7927.tar UXP-dd17f80d9cc4f9cd4eb03602329813b2338c7927.tar.gz UXP-dd17f80d9cc4f9cd4eb03602329813b2338c7927.tar.lz UXP-dd17f80d9cc4f9cd4eb03602329813b2338c7927.tar.xz UXP-dd17f80d9cc4f9cd4eb03602329813b2338c7927.zip |
Merge branch 'master' into Basilisk-releasev2018.09.05
Diffstat (limited to 'gfx/angle/src/libANGLE/Program.cpp')
-rwxr-xr-x | gfx/angle/src/libANGLE/Program.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gfx/angle/src/libANGLE/Program.cpp b/gfx/angle/src/libANGLE/Program.cpp index 7f4226da1..49a0f9a33 100755 --- a/gfx/angle/src/libANGLE/Program.cpp +++ b/gfx/angle/src/libANGLE/Program.cpp @@ -679,6 +679,12 @@ Error Program::link(const ContextState &data) gatherInterfaceBlockInfo(); + // Because we do lazy init in assignUniformBlockRegisters, + // we must initialize them when linking shaders, + // otherwise, we will have no shaders for getting uniform blocks + // information from shaders when doing draw calls. + mProgram->assignUniformBlockRegisters(); + mLinked = true; return NoError(); } |