| 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 1746557bcf2d810ea882561212635185b8ae925d..0c52d12f9edacb079d9720f4c1d062a1b23cfdcf 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -3834,6 +3834,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
|
| driver_bug_workarounds |= SH_DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT;
|
| if (workarounds().remove_invariant_and_centroid_for_essl3)
|
| driver_bug_workarounds |= SH_REMOVE_INVARIANT_AND_CENTROID_FOR_ESSL3;
|
| + if (workarounds().rewrite_float_unary_minus_operator)
|
| + driver_bug_workarounds |= SH_REWRITE_FLOAT_UNARY_MINUS_OPERATOR;
|
|
|
| resources.WEBGL_debug_shader_precision =
|
| group_->gpu_preferences().emulate_shader_precision;
|
|
|