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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.cc

Issue 2319023002: Enable ANGLE workaround for For and While loops bug on Intel MacOSX (Closed)
Patch Set: update version Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 3707 matching lines...) Expand 10 before | Expand all | Expand 10 after
3718 if (workarounds().scalarize_vec_and_mat_constructor_args) 3718 if (workarounds().scalarize_vec_and_mat_constructor_args)
3719 driver_bug_workarounds |= SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS; 3719 driver_bug_workarounds |= SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS;
3720 if (workarounds().regenerate_struct_names) 3720 if (workarounds().regenerate_struct_names)
3721 driver_bug_workarounds |= SH_REGENERATE_STRUCT_NAMES; 3721 driver_bug_workarounds |= SH_REGENERATE_STRUCT_NAMES;
3722 if (workarounds().remove_pow_with_constant_exponent) 3722 if (workarounds().remove_pow_with_constant_exponent)
3723 driver_bug_workarounds |= SH_REMOVE_POW_WITH_CONSTANT_EXPONENT; 3723 driver_bug_workarounds |= SH_REMOVE_POW_WITH_CONSTANT_EXPONENT;
3724 if (workarounds().emulate_abs_int_function) 3724 if (workarounds().emulate_abs_int_function)
3725 driver_bug_workarounds |= SH_EMULATE_ABS_INT_FUNCTION; 3725 driver_bug_workarounds |= SH_EMULATE_ABS_INT_FUNCTION;
3726 if (workarounds().rewrite_texelfetchoffset_to_texelfetch) 3726 if (workarounds().rewrite_texelfetchoffset_to_texelfetch)
3727 driver_bug_workarounds |= SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH; 3727 driver_bug_workarounds |= SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH;
3728 if (workarounds().add_and_true_to_loop_condition)
3729 driver_bug_workarounds |= SH_ADD_AND_TRUE_TO_LOOP_CONDITION;
3728 3730
3729 resources.WEBGL_debug_shader_precision = 3731 resources.WEBGL_debug_shader_precision =
3730 group_->gpu_preferences().emulate_shader_precision; 3732 group_->gpu_preferences().emulate_shader_precision;
3731 3733
3732 ShShaderOutput shader_output_language = 3734 ShShaderOutput shader_output_language =
3733 ShaderTranslator::GetShaderOutputLanguageForContext(gl_version_info()); 3735 ShaderTranslator::GetShaderOutputLanguageForContext(gl_version_info());
3734 3736
3735 vertex_translator_ = shader_translator_cache()->GetTranslator( 3737 vertex_translator_ = shader_translator_cache()->GetTranslator(
3736 GL_VERTEX_SHADER, shader_spec, &resources, shader_output_language, 3738 GL_VERTEX_SHADER, shader_spec, &resources, shader_output_language,
3737 driver_bug_workarounds); 3739 driver_bug_workarounds);
(...skipping 14232 matching lines...) Expand 10 before | Expand all | Expand 10 after
17970 } 17972 }
17971 17973
17972 // Include the auto-generated part of this file. We split this because it means 17974 // Include the auto-generated part of this file. We split this because it means
17973 // we can easily edit the non-auto generated parts right here in this file 17975 // we can easily edit the non-auto generated parts right here in this file
17974 // instead of having to edit some template or the code generator. 17976 // instead of having to edit some template or the code generator.
17975 #include "base/macros.h" 17977 #include "base/macros.h"
17976 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h" 17978 #include "gpu/command_buffer/service/gles2_cmd_decoder_autogen.h"
17977 17979
17978 } // namespace gles2 17980 } // namespace gles2
17979 } // namespace gpu 17981 } // namespace gpu
OLDNEW
« 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