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

Issue 132183002: Report relevant variable names in info logs on failed shader link (Closed)

Created:
6 years, 11 months ago by oetuaho-nv
Modified:
6 years, 11 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Report relevant variable names in info logs on failed shader link In case there's a variable precision mismatch or name conflict, the variable name is now printed in the program info log to ease fixing the issue in complex shaders. Also fixes a bug where multiple hashed names would not all be converted to the original names in info logs by preferring to match less characters in the regex, instead of preferring to match more and possibly eating up all the hashed names except the last. BUG=332798 TEST=gpu_unittests, WebGL GLSL conformance tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244504

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix nits #

Total comments: 1

Patch Set 3 : Fix code style and debug logging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -36 lines) Patch
M gpu/command_buffer/service/program_manager.h View 1 1 chunk +5 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 2 9 chunks +38 lines, -25 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 2 7 chunks +28 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
oetuaho-nv
6 years, 11 months ago (2014-01-09 17:04:01 UTC) #1
piman
Mostly good, aside from some nits. https://codereview.chromium.org/132183002/diff/1/gpu/command_buffer/service/program_manager.h File gpu/command_buffer/service/program_manager.h (right): https://codereview.chromium.org/132183002/diff/1/gpu/command_buffer/service/program_manager.h#newcode193 gpu/command_buffer/service/program_manager.h:193: bool DetectUniformsMismatch(std::string& conflicting_name) ...
6 years, 11 months ago (2014-01-09 18:16:46 UTC) #2
oetuaho-nv
On 2014/01/09 18:16:46, piman wrote: > Mostly good, aside from some nits. > > https://codereview.chromium.org/132183002/diff/1/gpu/command_buffer/service/program_manager.h ...
6 years, 11 months ago (2014-01-09 20:09:52 UTC) #3
piman
LGTM. You should be able to replace the DLOG(INFO) by DVLOG(1) for the presubmit (consensus ...
6 years, 11 months ago (2014-01-09 21:29:36 UTC) #4
Ken Russell (switch to Gerrit)
LGTM https://codereview.chromium.org/132183002/diff/70001/gpu/command_buffer/service/program_manager_unittest.cc File gpu/command_buffer/service/program_manager_unittest.cc (right): https://codereview.chromium.org/132183002/diff/70001/gpu/command_buffer/service/program_manager_unittest.cc#newcode1327 gpu/command_buffer/service/program_manager_unittest.cc:1327: EXPECT_EQ(conflicting_name, "a"); The constant should come first in ...
6 years, 11 months ago (2014-01-09 21:40:02 UTC) #5
oetuaho-nv
On 2014/01/09 21:40:02, Ken Russell wrote: > LGTM > > https://codereview.chromium.org/132183002/diff/70001/gpu/command_buffer/service/program_manager_unittest.cc > File gpu/command_buffer/service/program_manager_unittest.cc (right): ...
6 years, 11 months ago (2014-01-10 12:12:02 UTC) #6
Ken Russell (switch to Gerrit)
On 2014/01/10 12:12:02, oetuaho-nv wrote: > On 2014/01/09 21:40:02, Ken Russell wrote: > > LGTM ...
6 years, 11 months ago (2014-01-10 23:10:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oetuaho@nvidia.com/132183002/220001
6 years, 11 months ago (2014-01-13 13:21:41 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-13 15:07:34 UTC) #9
Message was sent while issue was closed.
Change committed as 244504

Powered by Google App Engine
This is Rietveld 408576698