Commit 1e3f2e0b by Jamie Madill Committed by Commit Bot

Roll angle-internal with new GLES 1.0 fixes.

The fixes require a few changes in ANGLE to support the build. Will upstream them to Khronos once its proved they can run the GLES 1.0 tests correctly. Bug: angleproject:3979 Change-Id: I74ff0cfa8ccc1bc903517a67d26352c4801e6355 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1845471Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarLingfeng Yang <lfy@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent cc4d8331
...@@ -45,7 +45,7 @@ vars = { ...@@ -45,7 +45,7 @@ vars = {
deps = { deps = {
'{angle_root}/angle-internal': { '{angle_root}/angle-internal': {
'url': 'https://chrome-internal.googlesource.com/angle/angle-internal.git@05522f9eb159afbbe35a246d5027893c56926a76', 'url': 'https://chrome-internal.googlesource.com/angle/angle-internal.git@15e655b1b2ef40622fef61cf7e74a95e3c71611f',
'condition': 'checkout_src_internal', 'condition': 'checkout_src_internal',
}, },
......
...@@ -307,6 +307,11 @@ if (build_angle_gles1_conform_tests) { ...@@ -307,6 +307,11 @@ if (build_angle_gles1_conform_tests) {
"NULLWS", "NULLWS",
] ]
# This is used by the tests to typedef uint32_t. For some reason only needed on mac.
if (is_mac) {
defines += [ "__linux" ]
}
cflags = [] cflags = []
if (is_clang) { if (is_clang) {
# Remove when crbug.com/428099 is resolved. # Remove when crbug.com/428099 is resolved.
...@@ -322,6 +327,8 @@ if (build_angle_gles1_conform_tests) { ...@@ -322,6 +327,8 @@ if (build_angle_gles1_conform_tests) {
# Upstream tests do null pointer arithmetic, so disable those warnings. # Upstream tests do null pointer arithmetic, so disable those warnings.
"-Wno-null-pointer-arithmetic", "-Wno-null-pointer-arithmetic",
] ]
} else {
cflags += [ "/wd4101" ] # unreferenced local variable
} }
} }
......
...@@ -103,7 +103,9 @@ extern long TexCombineExec(void); ...@@ -103,7 +103,9 @@ extern long TexCombineExec(void);
extern long MatrixPaletteExec(void); extern long MatrixPaletteExec(void);
// Test driver setup // Test driver setup
extern void ExtTestDriverSetup(void); void BufferSetup(void);
void EpsilonSetup(void);
void StateSetup(void);
#define CONFORMANCE_TEST_ERROR (-1) #define CONFORMANCE_TEST_ERROR (-1)
...@@ -128,7 +130,12 @@ class GLES1ConformanceTest : public ANGLETest ...@@ -128,7 +130,12 @@ class GLES1ConformanceTest : public ANGLETest
setConfigStencilBits(8); setConfigStencilBits(8);
} }
void testSetUp() override { ExtTestDriverSetup(); } void testSetUp() override
{
BufferSetup();
EpsilonSetup();
StateSetup();
}
}; };
TEST_P(GLES1ConformanceTest, AmbLight) TEST_P(GLES1ConformanceTest, AmbLight)
......
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