From fb42cbabb34d93e4e7ee5fe2d967eecc10695511 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Fri, 11 Jun 2021 14:30:49 +0200 Subject: [PATCH] Capture/Replay: Capture glGetLightfv parameter Enable the according capture/replay tests. Bug: angleproject:6051 Change-Id: I916e6d10756bc24bb3e0644c2b290f55b2066fd0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2954264 Reviewed-by: Jamie Madill Reviewed-by: Cody Northrop --- src/libANGLE/capture/capture_gles_1_0_params.cpp | 3 ++- .../capture_replay_tests/capture_replay_expectations.txt | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/libANGLE/capture/capture_gles_1_0_params.cpp b/src/libANGLE/capture/capture_gles_1_0_params.cpp index 37d65bc4e..844007424 100644 --- a/src/libANGLE/capture/capture_gles_1_0_params.cpp +++ b/src/libANGLE/capture/capture_gles_1_0_params.cpp @@ -96,7 +96,8 @@ void CaptureGetLightfv_params(const State &glState, GLfloat *params, ParamCapture *paramCapture) { - UNIMPLEMENTED(); + int count = GetLightParameterCount(pnamePacked); + CaptureMemory(params, count * sizeof(GLfloat), paramCapture); } void CaptureGetLightxv_params(const State &glState, diff --git a/src/tests/capture_replay_tests/capture_replay_expectations.txt b/src/tests/capture_replay_tests/capture_replay_expectations.txt index 6b82accb1..356415771 100644 --- a/src/tests/capture_replay_tests/capture_replay_expectations.txt +++ b/src/tests/capture_replay_tests/capture_replay_expectations.txt @@ -101,10 +101,6 @@ FramebufferObjectTest.TextureObjectDifferentFormats/* BootAnimationTest.DefaultBootAnimation/* # ES1 compile failed tests -LightsTest.InitialState/* -LightsTest.NegativeInvalidEnum/* -LightsTest.NegativeInvalidValue/* -LightsTest.Set/* MaterialsTest.InitialState/* MaterialsTest.InvalidParameter/* MaterialsTest.SetParameters/*