angle/util
Alexis Hetu 73bf99b716 Fix clearing the program's validation-related cache too early
When attempting to link a new program, the program must be marked
as unlinked, but the validation-related caching should not be
cleared yet, since we can still use the previously linked program
if linking fails at this point.

Added an angle end2end test which fails without this fix and
passes with this fix.

Fixes the following WebGL 1.0.4 test with SwANGLE:
conformance/programs/program-test.html

Bug: angleproject:3557
Change-Id: Ib6722ba88803979e8f292c9b7b81f85cc0304662
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2173538
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Commit-Queue: Alexis Hétu <sugoi@chromium.org>
2020-05-04 21:23:32 +00:00
..
android Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
fuchsia Fuchsia: Fix size & position of test window on Scenic 2020-02-06 21:08:30 +00:00
osx Metal: Re-add end2end test configs (running test is still disabled) 2019-11-21 22:10:38 +00:00
ozone Enable "-Winconsistent-missing-destructor-override". 2019-10-25 11:40:36 +00:00
posix Re-land "Add new test runner harness." (#2) 2019-12-16 23:52:35 +00:00
windows Work around strange git cl format issue. 2020-05-01 19:42:36 +00:00
x11 Enable "-Winconsistent-missing-destructor-override". 2019-10-25 11:40:36 +00:00
BUILD.gn Capture/Replay: Update CaptureReplay sample for compression 2020-03-25 22:00:09 +00:00
EGLPlatformParameters.h Vulkan: Disable robustness support 2020-03-13 12:33:44 +00:00
EGLWindow.cpp EGLWindow: Clean up some init attribute code. 2020-05-04 15:48:47 +00:00
EGLWindow.h Refactor ANGLE common test utils. 2020-03-16 22:16:46 +00:00
Event.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
Matrix.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
Matrix.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
OSPixmap.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
OSWindow.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
OSWindow.h Minor tweaks to SampleApplication. 2019-11-11 15:39:38 +00:00
Timer.cpp Move timer functionality from util/ to common/ 2019-08-30 17:05:57 +00:00
Timer.h GN: Make new angle_test_utils target. 2019-12-16 22:35:05 +00:00
com_utils.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
egl_loader_autogen.cpp Work around strange git cl format issue. 2020-05-01 19:42:36 +00:00
egl_loader_autogen.h Work around strange git cl format issue. 2020-05-01 19:42:36 +00:00
frame_capture_utils.h Capture/Replay: Update CaptureReplay sample for compression 2020-03-25 22:00:09 +00:00
geometry_utils.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
geometry_utils.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
gles_loader_autogen.cpp Work around strange git cl format issue. 2020-05-01 19:42:36 +00:00
gles_loader_autogen.h Work around strange git cl format issue. 2020-05-01 19:42:36 +00:00
keyboard.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
mouse.h Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
random_utils.cpp Standardize copyright notices to project style 2019-08-14 23:05:33 +00:00
random_utils.h Vulkan: Defer RenderPass image barriers. 2020-02-10 21:14:28 +00:00
shader_utils.cpp Fix clearing the program's validation-related cache too early 2020-05-04 21:23:32 +00:00
shader_utils.h Fix clearing the program's validation-related cache too early 2020-05-04 21:23:32 +00:00
test_utils.cpp Reland "Add more test_utils functions." 2019-10-26 15:49:19 +00:00
test_utils.h Add gles1 covegl test compile 2020-04-29 20:11:00 +00:00
test_utils_unittest.cpp Posix: Fix async LaunchProcess. 2019-11-22 23:01:19 +00:00
test_utils_unittest_helper.cpp Re-land "Add new test runner harness." (#2) 2019-12-16 23:52:35 +00:00
test_utils_unittest_helper.h Re-land "Add new test runner harness." (#2) 2019-12-16 23:52:35 +00:00
util_export.h util: Always export default visibility. 2019-12-12 21:23:03 +00:00
util_gl.h Refactor ANGLE common test utils. 2020-03-16 22:16:46 +00:00