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

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

Issue 2456823002: Remove invariant for input in fragment shader (Closed)
Patch Set: fix workaround description 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
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ddde508545de014f8f11dfcdd643fd8400d9f612..166a025db2f4b19426a07051a0ff9dfd165fe76d 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -3822,6 +3822,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
driver_bug_workarounds |= SH_EMULATE_ISNAN_FLOAT_FUNCTION;
if (workarounds().use_unused_standard_shared_blocks)
driver_bug_workarounds |= SH_USE_UNUSED_STANDARD_SHARED_BLOCKS;
+ if (workarounds().dont_remove_invariant_for_fragment_input)
+ driver_bug_workarounds |= SH_DONT_REMOVE_INVARIANT_FOR_FRAGMENT_INPUT;
resources.WEBGL_debug_shader_precision =
group_->gpu_preferences().emulate_shader_precision;
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698