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

Issue 2857083002: Fix behavior of GetOriginalNameFromHashedName (Closed)

Created:
3 years, 7 months ago by Kai Ninomiya
Modified:
3 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org, piman, Zhenyao Mo
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix behavior of GetOriginalNameFromHashedName This is a minimal fix for issues with getUniformBlockIndex and getTransformFeedbackVarying. Also removes unused Shader::GetMappedName. This corrects the behavior of GetOriginalNameFromHashedName. Previously, uniform block names were unmapped using "name_map", but name_map was not restored upon load. Now, instead of name_map, the five info maps (attrib, uniform, varying, interface block, output variable) are queried serially in GetOriginalNameFromHashedName. Unused code around name_map will be removed in a subsequent CL. BUG=716018 TEST=https://github.com/KhronosGroup/WebGL/pull/2388 TEST=https://github.com/KhronosGroup/WebGL/pull/2389 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 Review-Url: https://codereview.chromium.org/2857083002 Cr-Commit-Position: refs/heads/master@{#469209} Committed: https://chromium.googlesource.com/chromium/src/+/830b099d96036c04006e844f36803bf6fc23443a

Patch Set 1 #

Patch Set 2 : remove GetMappedName #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M gpu/command_buffer/service/shader_manager.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/shader_manager.cc View 1 chunk +15 lines, -12 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
Kai Ninomiya
kbr, jbauman: PTAL. This is the first half of this CL pair, the fix for ...
3 years, 7 months ago (2017-05-03 00:14:17 UTC) #5
Ken Russell (switch to Gerrit)
Apologies for the delay reviewing. LGTM CC'ing other reviewers.
3 years, 7 months ago (2017-05-03 22:47:32 UTC) #11
jbauman
lgtm
3 years, 7 months ago (2017-05-03 22:52:00 UTC) #12
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/2857083002/20001
3 years, 7 months ago (2017-05-03 23:04:43 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 00:15:42 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/830b099d96036c04006e844f3680...

Powered by Google App Engine
This is Rietveld 408576698