Commit 626d9576 authored by qiankun.miao's avatar qiankun.miao Committed by Commit bot

Enable ANGLE workaround for For and While loops bug on Intel MacOSX

BUG=644669
TEST=deqp/functional/gles3/shaderloop_for/while.html
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2319023002
Cr-Commit-Position: refs/heads/master@{#419059}
parent 896eeb35
...@@ -3725,6 +3725,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() { ...@@ -3725,6 +3725,8 @@ bool GLES2DecoderImpl::InitializeShaderTranslator() {
driver_bug_workarounds |= SH_EMULATE_ABS_INT_FUNCTION; driver_bug_workarounds |= SH_EMULATE_ABS_INT_FUNCTION;
if (workarounds().rewrite_texelfetchoffset_to_texelfetch) if (workarounds().rewrite_texelfetchoffset_to_texelfetch)
driver_bug_workarounds |= SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH; driver_bug_workarounds |= SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH;
if (workarounds().add_and_true_to_loop_condition)
driver_bug_workarounds |= SH_ADD_AND_TRUE_TO_LOOP_CONDITION;
resources.WEBGL_debug_shader_precision = resources.WEBGL_debug_shader_precision =
group_->gpu_preferences().emulate_shader_precision; group_->gpu_preferences().emulate_shader_precision;
......
...@@ -19,7 +19,7 @@ const char kGpuDriverBugListJson[] = LONG_STRING_CONST( ...@@ -19,7 +19,7 @@ const char kGpuDriverBugListJson[] = LONG_STRING_CONST(
{ {
"name": "gpu driver bug list", "name": "gpu driver bug list",
// Please update the version number whenever you change this file. // Please update the version number whenever you change this file.
"version": "8.97", "version": "8.98",
"entries": [ "entries": [
{ {
"id": 1, "id": 1,
...@@ -1976,6 +1976,18 @@ LONG_STRING_CONST( ...@@ -1976,6 +1976,18 @@ LONG_STRING_CONST(
"features": [ "features": [
"disable_dxgi_zero_copy_video" "disable_dxgi_zero_copy_video"
] ]
},
{
"id": 186,
"description": "Rewrite condition in for and while loops for Intel Mac",
"cr_bugs": [644669],
"os": {
"type": "macosx"
},
"vendor_id": "0x8086",
"features": [
"add_and_true_to_loop_condition"
]
} }
] ]
// Please update the version number at beginning of this file whenever you // Please update the version number at beginning of this file whenever you
......
...@@ -131,6 +131,8 @@ ...@@ -131,6 +131,8 @@
restore_scissor_on_fbo_change) \ restore_scissor_on_fbo_change) \
GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \ GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \
reverse_point_sprite_coord_origin) \ reverse_point_sprite_coord_origin) \
GPU_OP(ADD_AND_TRUE_TO_LOOP_CONDITION, \
add_and_true_to_loop_condition) \
GPU_OP(REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH, \ GPU_OP(REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH, \
rewrite_texelfetchoffset_to_texelfetch) \ rewrite_texelfetchoffset_to_texelfetch) \
GPU_OP(SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS, \ GPU_OP(SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment