| 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 6af5802e1138505f2ebf2a58a4a6df95e4d85fea..9d202812418477abb98d43c781d33ce2a649b792 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -3728,6 +3728,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
|
| driver_bug_workarounds |= SH_REMOVE_POW_WITH_CONSTANT_EXPONENT;
|
| if (workarounds().emulate_abs_int_function)
|
| driver_bug_workarounds |= SH_EMULATE_ABS_INT_FUNCTION;
|
| + if (workarounds().rewrite_texelfetchoffset_to_texelfetch)
|
| + driver_bug_workarounds |= SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH;
|
|
|
| resources.WEBGL_debug_shader_precision =
|
| group_->gpu_preferences().emulate_shader_precision;
|
|
|