| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| index 7b9bbc6c744b6c0a0604d60d0fd3d5d595563110..58143ec993ccbe2c854761e957886d0e18cef77f 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -5417,6 +5417,8 @@ void GLES2DecoderImpl::DoLinkProgram(GLuint program_id) {
|
| 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)
|
|
|