diff options
author | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-11 20:23:49 +0000 |
---|---|---|
committer | zmo@chromium.org <zmo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-03-11 20:23:49 +0000 |
commit | 1decfef8f6b311a7df532382663670bade97c6b4 (patch) | |
tree | 5dad6a55fd165a5b7cc01f38a55e99fbe48495bb /gpu | |
parent | 94df8e60b43b5dd3489c0f023057c661cbd097a5 (diff) | |
download | chromium_src-1decfef8f6b311a7df532382663670bade97c6b4.zip chromium_src-1decfef8f6b311a7df532382663670bade97c6b4.tar.gz chromium_src-1decfef8f6b311a7df532382663670bade97c6b4.tar.bz2 |
Get rid of SH_MAP_LONG_VARIABLE_NAMES.
We haven't been using it for a while, because if ANGLE detects we pass
in a hash function, it will turn on hashing and ignore
SH_MAP_LONG_VARIABLE_NAMES.
We already got rid of this option in ANGLE. So in order to roll ANGLE,
we need to get rid of it in chromium.
BUG=
TEST=bots
R=bajones@chromium.org
Review URL: https://codereview.chromium.org/195463002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/shader_translator.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gpu/command_buffer/service/shader_translator.cc b/gpu/command_buffer/service/shader_translator.cc index 855ceca..333e2c6 100644 --- a/gpu/command_buffer/service/shader_translator.cc +++ b/gpu/command_buffer/service/shader_translator.cc @@ -154,11 +154,9 @@ bool ShaderTranslator::Init( int ShaderTranslator::GetCompileOptions() const { int compile_options = - SH_OBJECT_CODE | SH_VARIABLES | - SH_MAP_LONG_VARIABLE_NAMES | SH_ENFORCE_PACKING_RESTRICTIONS | - SH_LIMIT_EXPRESSION_COMPLEXITY | SH_LIMIT_CALL_STACK_DEPTH; - - compile_options |= SH_CLAMP_INDIRECT_ARRAY_BOUNDS; + SH_OBJECT_CODE | SH_VARIABLES | SH_ENFORCE_PACKING_RESTRICTIONS | + SH_LIMIT_EXPRESSION_COMPLEXITY | SH_LIMIT_CALL_STACK_DEPTH | + SH_CLAMP_INDIRECT_ARRAY_BOUNDS; compile_options |= driver_bug_workarounds_; |