Commit fb2a871c by Geoff Lang Committed by Commit Bot

Work around VC++ 2017 compiler bug

A code-gen bug was found in 15.3.2 (VC++ 2017 Update 3.2) that causes test failures due to one loop being skipped. Attempts to disable optimizations for just the affected function failed so optimizations must be disabled at the end of the source file, which seems to cause all template functions and compiler generated functions to have optimizations disabled. A VS bug has been filed and cross-linked. BUG=759402 Change-Id: Ida765a47234a63bad48e6a4e910f3b82919d6be9 Reviewed-on: https://chromium-review.googlesource.com/647313Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent f00f7ffe
...@@ -229,7 +229,6 @@ ...@@ -229,7 +229,6 @@
'<(deqp_path)/modules/gles2/functional/es2fShaderInvarianceTests.hpp', '<(deqp_path)/modules/gles2/functional/es2fShaderInvarianceTests.hpp',
'<(deqp_path)/modules/gles2/functional/es2fShaderLoopTests.cpp', '<(deqp_path)/modules/gles2/functional/es2fShaderLoopTests.cpp',
'<(deqp_path)/modules/gles2/functional/es2fShaderLoopTests.hpp', '<(deqp_path)/modules/gles2/functional/es2fShaderLoopTests.hpp',
'<(deqp_path)/modules/gles2/functional/es2fShaderMatrixTests.cpp',
'<(deqp_path)/modules/gles2/functional/es2fShaderMatrixTests.hpp', '<(deqp_path)/modules/gles2/functional/es2fShaderMatrixTests.hpp',
'<(deqp_path)/modules/gles2/functional/es2fShaderOperatorTests.cpp', '<(deqp_path)/modules/gles2/functional/es2fShaderOperatorTests.cpp',
'<(deqp_path)/modules/gles2/functional/es2fShaderOperatorTests.hpp', '<(deqp_path)/modules/gles2/functional/es2fShaderOperatorTests.hpp',
...@@ -324,6 +323,10 @@ ...@@ -324,6 +323,10 @@
'<(deqp_path)/modules/gles2/tes2TestPackage.cpp', '<(deqp_path)/modules/gles2/tes2TestPackage.cpp',
'<(deqp_path)/modules/gles2/tes2TestPackage.hpp', '<(deqp_path)/modules/gles2/tes2TestPackage.hpp',
'<(deqp_path)/modules/gles2/tes2TestPackageEntry.cpp', '<(deqp_path)/modules/gles2/tes2TestPackageEntry.cpp',
# TODO(geofflang): Remove this once the test is updated in dEQP or the VC++2017
# compiler is fixed (crbug.com/759402)
#'<(deqp_path)/modules/gles2/functional/es2fShaderMatrixTests.cpp',
'<(angle_path)/src/tests/deqp_support/es2fShaderMatrixTests.cpp',
], ],
'deqp_gles3_sources': 'deqp_gles3_sources':
[ [
...@@ -1629,6 +1632,12 @@ ...@@ -1629,6 +1632,12 @@
'deqp_support/tcuANGLEPlatform.cpp', 'deqp_support/tcuANGLEPlatform.cpp',
'deqp_support/tcuANGLEPlatform.h', 'deqp_support/tcuANGLEPlatform.h',
], ],
# TODO(geofflang): Remove once es2fShaderMatrixTests.cpp no longer requires
# a local copy (crbug.com/759402)
'include_dirs':
[
'<(deqp_path)/modules/gles2/functional',
],
}, },
{ {
......
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