Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(640)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2297603002: Enable ANGLE workaround for Intel MacOS abs bug (Closed)
Patch Set: update version Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « content/test/gpu/gpu_tests/webgl2_conformance_expectations.py ('k') | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698