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

Issue 2272823004: Add a base mipmap level walkaround for Intel MacOSX (Closed)

Created:
4 years, 4 months ago by jchen10
Modified:
4 years, 3 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a base mipmap level walkaround for Intel MacOSX glTexStorage* work incorrectly if the GL_TEXTURE_BASE_LEVEL is not 0. This CL simply sets it to 0 beforehand and restores it afterward. BUG=640506 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 Committed: https://crrev.com/e58b47ecc4ef49e2b43526131cdd35ac00055c18 Cr-Commit-Position: refs/heads/master@{#414719}

Patch Set 1 #

Patch Set 2 : Fix the unintialized variable #

Patch Set 3 : Whitelist the expectation for all macosx platforms #

Patch Set 4 : test other GPUs without the walkaround #

Total comments: 1

Patch Set 5 : use texture->base_level() instead #

Patch Set 6 : rebase #

Patch Set 7 : re-rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -10 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 2 3 4 5 3 chunks +0 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 2 chunks +7 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 6 2 chunks +13 lines, -1 line 1 comment Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 64 (49 generated)
jchen10
Please have a look! BTW, the test has passed on other MacOSX platforms already, so ...
4 years, 3 months ago (2016-08-25 08:57:59 UTC) #31
Zhenyao Mo
Great finding! A minor optimization, otherwise looks good. Can you add a simple conformance test ...
4 years, 3 months ago (2016-08-25 18:06:55 UTC) #32
jchen10
On 2016/08/25 18:06:55, Zhenyao Mo wrote: > Great finding! > > A minor optimization, otherwise ...
4 years, 3 months ago (2016-08-26 00:42:51 UTC) #35
jchen10
On 2016/08/26 00:42:51, jchen10 wrote: > On 2016/08/25 18:06:55, Zhenyao Mo wrote: > > Great ...
4 years, 3 months ago (2016-08-26 13:13:11 UTC) #50
Zhenyao Mo
On 2016/08/26 13:13:11, jchen10 wrote: > On 2016/08/26 00:42:51, jchen10 wrote: > > On 2016/08/25 ...
4 years, 3 months ago (2016-08-26 15:26:55 UTC) #51
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/2272823004/120001
4 years, 3 months ago (2016-08-26 15:27:21 UTC) #53
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-08-26 15:31:10 UTC) #55
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/e58b47ecc4ef49e2b43526131cdd35ac00055c18 Cr-Commit-Position: refs/heads/master@{#414719}
4 years, 3 months ago (2016-08-26 15:34:41 UTC) #57
Zhenyao Mo
https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_bug_list_json.cc#newcode1967 gpu/config/gpu_driver_bug_list_json.cc:1967: "vendor_id": "0x8086", Curious: the workaround is for Mac Intel ...
4 years, 3 months ago (2016-08-26 17:38:58 UTC) #58
ynovikov
On 2016/08/26 17:38:58, Zhenyao Mo wrote: > https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_bug_list_json.cc > File gpu/config/gpu_driver_bug_list_json.cc (right): > > https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_bug_list_json.cc#newcode1967 ...
4 years, 3 months ago (2016-08-26 21:08:38 UTC) #59
Zhenyao Mo
On 2016/08/26 21:08:38, ynovikov wrote: > On 2016/08/26 17:38:58, Zhenyao Mo wrote: > > > ...
4 years, 3 months ago (2016-08-26 21:17:22 UTC) #60
jchen10
On 2016/08/26 17:38:58, Zhenyao Mo wrote: > https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_bug_list_json.cc > File gpu/config/gpu_driver_bug_list_json.cc (right): > > https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_bug_list_json.cc#newcode1967 ...
4 years, 3 months ago (2016-08-26 22:38:35 UTC) #61
jchen10
On 2016/08/26 21:17:22, Zhenyao Mo wrote: > On 2016/08/26 21:08:38, ynovikov wrote: > > On ...
4 years, 3 months ago (2016-08-26 23:05:00 UTC) #62
Zhenyao Mo
On 2016/08/26 23:05:00, jchen10 wrote: > On 2016/08/26 21:17:22, Zhenyao Mo wrote: > > On ...
4 years, 3 months ago (2016-08-26 23:41:57 UTC) #63
Ken Russell (switch to Gerrit)
4 years, 3 months ago (2016-08-27 02:03:47 UTC) #64
Message was sent while issue was closed.
On 2016/08/26 23:41:57, Zhenyao Mo wrote:
> On 2016/08/26 23:05:00, jchen10 wrote:
> > On 2016/08/26 21:17:22, Zhenyao Mo wrote:
> > > On 2016/08/26 21:08:38, ynovikov wrote:
> > > > On 2016/08/26 17:38:58, Zhenyao Mo wrote:
> > > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_...
> > > > > File gpu/config/gpu_driver_bug_list_json.cc (right):
> > > > > 
> > > > >
> > > >
> > >
> >
>
https://codereview.chromium.org/2272823004/diff/120001/gpu/config/gpu_driver_...
> > > > > gpu/config/gpu_driver_bug_list_json.cc:1967: "vendor_id": "0x8086",
> > > > > Curious: the workaround is for Mac Intel only, but why the failing
tests
> > > also
> > > > > begin to pass on Mac AMD and Mac NVidia? (See the removed entries)
> > > > 
> > > > Fails on
> > > >
> > >
> >
>
https://build.chromium.org/p/chromium.gpu.fyi/builders/Mac%2010.10%20Release%...
> > > 
> > > We will need to add back the entry
> > 
> > My MacbookPro has dual GPUs, Intel and AMD. The test fails if I switches to
> AMD
> > GPU. And the walkaround can also make the test pass for AMD. But according
to
> > trybots, AMD and NV could pass without it. So I am not sure whether to apply
> the
> > workaround to AMD as well, or simply add the entry back to the expectation.
> 
> That's a different Mac GPU from the ones on the try server.

Suppressing this failure just on this AMD GPU in
https://codereview.chromium.org/2281073004/ .

For future reference, you can find the PCI IDs of the GPUs in any of the
Telemetry-based GPU tests. It's in the info log dumped near the start of the
test. You can look at trace_test or some of the smaller tests in order to have
to look through fewer logs.

Powered by Google App Engine
This is Rietveld 408576698