DescriptionRemove NameMap from shader translator and shader/program managers
NameMap, which after the previous patch is no longer used by the shader/program managers, is removed, and the tests updated.
Tests are also added for GetOriginalNameFromHashedName, though these don't actually hit the original error case in the bug report. That's a difficult integration issue and is tested instead by the WebGL conformance tests.
Usages of GetOriginalNameFromHashedName are replaced with more specific methods calls in Program::{GetTransformFeedbackVaryings,GetUniformBlocks}. This avoids querying the unnecessary extra four info maps.
BUG=716018
TEST=https://github.com/KhronosGroup/WebGL/pull/2388
TEST=https://github.com/KhronosGroup/WebGL/pull/2389
TEST=ShaderManagerTest.DoCompile
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/2852923004
Cr-Commit-Position: refs/heads/master@{#469398}
Committed: https://chromium.googlesource.com/chromium/src/+/78c79d2aff281ddebbe220a1f41214d3c071f16b
Patch Set 1 #Patch Set 2 : fix #
Total comments: 2
Patch Set 3 : Remove gles2::NameMap and all of its users #Patch Set 4 : resurrect a hardier version of GetOriginalNameFromHashedName #Patch Set 5 : split CL #
Total comments: 8
Patch Set 6 : remove some TODO(zmo)s #Messages
Total messages: 50 (34 generated)
|