Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 250146) |
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy) |
@@ -5442,6 +5442,8 @@ |
if (program->Link(shader_manager(), |
vertex_translator, |
fragment_translator, |
+ workarounds().count_all_in_varyings_packing ? |
+ Program::kCountAll : Program::kCountOnlyStaticallyUsed, |
shader_cache_callback_)) { |
if (program == state_.current_program.get()) { |
if (workarounds().use_current_program_after_successful_link) |