Chromium Code Reviews| 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 f92ac4cd83d166753796221456310a923475c0a4..5fced7faad89a458a314a7bf557ed484547e45e3 100644 |
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
| @@ -3726,6 +3726,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() { |
| driver_bug_workarounds |= SH_REGENERATE_STRUCT_NAMES; |
| if (workarounds().remove_pow_with_constant_exponent) |
| driver_bug_workarounds |= SH_REMOVE_POW_WITH_CONSTANT_EXPONENT; |
| + if (workarounds().emulate_abs_int_function) |
| + driver_bug_workarounds |= SH_EMULATE_ABS_INT_FUNCTION; |
|
Jamie Madill
2016/09/02 14:19:25
not sure how this compiled, but it's breaking the
|
| resources.WEBGL_debug_shader_precision = |
| group_->gpu_preferences().emulate_shader_precision; |