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

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

Issue 2250803002: Work around MacOSX driver bug related with glGetFragDataLocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 58b1820159af29365e3ccb96b3d4d6eb122f26e6..60ab77e6837552aadb56f96b66d0cf5f35a5d78a 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -1286,6 +1286,7 @@ void FeatureInfo::InitializeFeatures() {
(gl_version_info_->IsAtLeastGL(3, 2) &&
extensions.Contains("GL_ARB_blend_func_extended"));
if (!disable_shader_translator_ &&
+ !workarounds_.get_frag_data_info_bug &&
((gl_version_info_->IsAtLeastGL(3, 2) &&
has_opengl_dual_source_blending) ||
(gl_version_info_->IsAtLeastGLES(3, 0) &&
« no previous file with comments | « no previous file | gpu/command_buffer/service/program_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698