Commit 9b88991c by Kai Ninomiya Committed by Commit Bot

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. 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>
parent 58ba6bf5
...@@ -1937,6 +1937,9 @@ gl::Error StateManager11::updateState(const gl::Context *context, GLenum drawMod ...@@ -1937,6 +1937,9 @@ gl::Error StateManager11::updateState(const gl::Context *context, GLenum drawMod
auto dirtyBitsCopy = mInternalDirtyBits; auto dirtyBitsCopy = mInternalDirtyBits;
mInternalDirtyBits.reset(); mInternalDirtyBits.reset();
// TODO(crbug.com/792966): Workaround for bug in this dirty bit
dirtyBitsCopy.set(DIRTY_BIT_PROGRAM_UNIFORM_BUFFERS);
for (auto dirtyBit : dirtyBitsCopy) for (auto dirtyBit : dirtyBitsCopy)
{ {
switch (dirtyBit) 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