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

Issue 1463673004: gpu: Update translated shader source after link. (Closed)

Created:
5 years, 1 month ago by Jamie Madill
Modified:
5 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org, Ken Russell (switch to Gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Refresh translated shader source every query. ANGLE generates additional shader debug info during program linking. We would miss this with the current method of caching the extended translated source. Handle this by refreshing the translated source after the link operation. Unfortunately this only currently works with the GPU program cache disabled, since we don't have the translated source attached to the shader binaries. Use the --disable-gpu-program-cache flag to get to the extended info. BUG=angleproject:1179 R=kbr@chromium.org Committed: https://crrev.com/f38c734f5dd3808cee8b17350f0f22ffa555c055 Cr-Commit-Position: refs/heads/master@{#360977}

Patch Set 1 #

Patch Set 2 : Addressed zmo's feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -16 lines) Patch
M gpu/command_buffer/service/program_manager.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.cc View 1 2 chunks +20 lines, -16 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Jamie Madill
PTAL, let me know if this is acceptable. This is an interim step to allow ...
5 years, 1 month ago (2015-11-20 19:36:12 UTC) #3
zmo
On 2015/11/20 19:36:12, Jamie Madill wrote: > PTAL, let me know if this is acceptable. ...
5 years, 1 month ago (2015-11-20 19:51:42 UTC) #4
Jamie Madill
On 2015/11/20 19:51:42, zmo wrote: > On 2015/11/20 19:36:12, Jamie Madill wrote: > > PTAL, ...
5 years, 1 month ago (2015-11-20 22:12:26 UTC) #5
zmo
LGTM
5 years, 1 month ago (2015-11-20 23:57:44 UTC) #7
Jamie Madill
Thanks Mo - but can you re-LGTM with your @chromium, so I can pass OWNERS?
5 years, 1 month ago (2015-11-21 00:14:05 UTC) #8
bajones
On 2015/11/21 00:14:05, Jamie Madill wrote: > Thanks Mo - but can you re-LGTM with ...
5 years, 1 month ago (2015-11-21 00:14:40 UTC) #9
Ken Russell (switch to Gerrit)
Thanks for picking this up. LGTM
5 years, 1 month ago (2015-11-21 00:16:42 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463673004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463673004/20001
5 years, 1 month ago (2015-11-21 00:17:35 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-21 01:26:11 UTC) #15
commit-bot: I haz the power
5 years, 1 month ago (2015-11-21 01:26:54 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f38c734f5dd3808cee8b17350f0f22ffa555c055
Cr-Commit-Position: refs/heads/master@{#360977}

Powered by Google App Engine
This is Rietveld 408576698