Commit 2ff870db by Kai Ninomiya

Disable DIRTY_BIT_PROGRAM_UNIFORM_BUFFERS

This dirty bit isn't getting set somewhere where it should be, so work around this by just enabling the dirty bit always. The bit was added here: https://chromium-review.googlesource.com/c/angle/angle/+/659228 There will be a followup to re-enable this dirty bit once the correctness has been fixed. TBR=kbr@chromium.org Test: https://github.com/KhronosGroup/WebGL/pull/2559 Bug: chromium:792966 Change-Id: I473a60b39eff70e59ab55ff7b74f06fdb0db1305 Reviewed-on: https://chromium-review.googlesource.com/818178 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org> (cherry picked from commit 9b88991c) Reviewed-on: https://chromium-review.googlesource.com/822454Reviewed-by: 's avatarKai Ninomiya <kainino@chromium.org>
parent 9095f2b4
......@@ -1917,6 +1917,9 @@ gl::Error StateManager11::updateState(const gl::Context *context, GLenum drawMod
auto dirtyBitsCopy = mInternalDirtyBits;
mInternalDirtyBits.reset();
// TODO(crbug.com/792966): Workaround for bug in this dirty bit
dirtyBitsCopy.set(DIRTY_BIT_PROGRAM_UNIFORM_BUFFERS);
for (auto dirtyBit : dirtyBitsCopy)
{
switch (dirtyBit)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment