| 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 86074df50854075905257ab394e55fb06e0683f7..b9a3ac0af21f91f9abd65bca6ece5c285a5ee357 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -3727,6 +3727,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
|
| driver_bug_workarounds |= SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH;
|
| if (workarounds().add_and_true_to_loop_condition)
|
| driver_bug_workarounds |= SH_ADD_AND_TRUE_TO_LOOP_CONDITION;
|
| + if (workarounds().rewrite_do_while_loops)
|
| + driver_bug_workarounds |= SH_REWRITE_DO_WHILE_LOOPS;
|
|
|
| resources.WEBGL_debug_shader_precision =
|
| group_->gpu_preferences().emulate_shader_precision;
|
|
|