Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Issue 2378373003: Enable ANGLE workaround for unused std140/shared blocks bug (Closed)

Created:
4 years, 2 months ago by jiajia.qin
Modified:
4 years, 2 months ago
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable ANGLE workaround for unused std140/shared blocks bug Active Uniforms/Blocks number is wrong on Mac Drivers when there are unused std140/shared uniform blocks. The workaround is to insert statements to reference all members in unused std140/shared blocks at the beginning of the vertex/fragment shader's main(). BUG=618464 TEST=UniformBufferTest.ActiveUniformBlockNumber deqp/functional/gles3/uniformbuffers/random.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Committed: https://crrev.com/79a5c76ce73c9d7dd4ce4576767660c11b80a382 Cr-Commit-Position: refs/heads/master@{#425740}

Patch Set 1 : Enable ANGLE workaround for unused std140/shared blocks bug #

Total comments: 2

Patch Set 2 : rebase #

Patch Set 3 : Suppress random.html on Intel/AMD gpu on Mac #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -4 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 2 chunks +12 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
jiajia.qin
It depends on https://codereview.chromium.org/2421873002/. Please take a look.
4 years, 2 months ago (2016-10-14 15:16:44 UTC) #7
Zhenyao Mo
Looks good once the nit is fixed (and bots are green) https://codereview.chromium.org/2378373003/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h File gpu/config/gpu_driver_bug_workaround_type.h (right): ...
4 years, 2 months ago (2016-10-14 20:44:59 UTC) #10
jiajia.qin
Mo, please take another look. Thanks. https://codereview.chromium.org/2378373003/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h File gpu/config/gpu_driver_bug_workaround_type.h (right): https://codereview.chromium.org/2378373003/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h#newcode182 gpu/config/gpu_driver_bug_workaround_type.h:182: GPU_OP(USE_UNUSED_STANDARD_SHARED_BLOCKS, \ On ...
4 years, 2 months ago (2016-10-17 07:50:01 UTC) #13
Corentin Wallez
On 2016/10/17 at 07:50:01, jiajia.qin wrote: > Mo, please take another look. Thanks. > > ...
4 years, 2 months ago (2016-10-17 13:45:37 UTC) #14
Zhenyao Mo
On 2016/10/17 13:45:37, Corentin Wallez wrote: > On 2016/10/17 at 07:50:01, jiajia.qin wrote: > > ...
4 years, 2 months ago (2016-10-17 17:54:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2378373003/80001
4 years, 2 months ago (2016-10-17 17:55:22 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 2 months ago (2016-10-17 19:18:36 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-17 19:23:03 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/79a5c76ce73c9d7dd4ce4576767660c11b80a382
Cr-Commit-Position: refs/heads/master@{#425740}

Powered by Google App Engine
This is Rietveld 408576698