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

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

Issue 2378373003: Enable ANGLE workaround for unused std140/shared blocks bug (Closed)
Patch Set: Suppress random.html on Intel/AMD gpu on Mac Created 4 years, 2 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 33e87e3c0609664cb861140a0021decda2c1098a..3316354684d1bc22fa4900b976204193ed87892b 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3817,6 +3817,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
driver_bug_workarounds |= SH_REWRITE_DO_WHILE_LOOPS;
if (workarounds().emulate_isnan_on_float)
driver_bug_workarounds |= SH_EMULATE_ISNAN_FLOAT_FUNCTION;
+ if (workarounds().use_unused_standard_shared_blocks)
+ driver_bug_workarounds |= SH_USE_UNUSED_STANDARD_SHARED_BLOCKS;
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