Commit 79d3a5a1 by Gert Wollny

Capture/Replay: Capture (Get)TexParameterxv

Bug: angleproject:6056 Change-Id: I094d80e5d6a981c01f572e0fba9b578269200bde Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2957952Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent f20d2b95
...@@ -168,7 +168,8 @@ void CaptureGetTexParameterxv_params(const State &glState, ...@@ -168,7 +168,8 @@ void CaptureGetTexParameterxv_params(const State &glState,
GLfixed *params, GLfixed *params,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); unsigned int size = GetTexParameterCount(pname);
CaptureMemory(params, sizeof(GLfloat) * size, paramCapture);
} }
void CaptureLightModelfv_params(const State &glState, void CaptureLightModelfv_params(const State &glState,
...@@ -344,7 +345,8 @@ void CaptureTexParameterxv_params(const State &glState, ...@@ -344,7 +345,8 @@ void CaptureTexParameterxv_params(const State &glState,
const GLfixed *params, const GLfixed *params,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); unsigned int size = GetTexParameterCount(pname);
CaptureMemory(params, sizeof(GLfloat) * size, paramCapture);
} }
void CaptureVertexPointer_pointer(const State &glState, void CaptureVertexPointer_pointer(const State &glState,
......
...@@ -104,5 +104,3 @@ BootAnimationTest.DefaultBootAnimation/* ...@@ -104,5 +104,3 @@ BootAnimationTest.DefaultBootAnimation/*
MaterialsTest.InitialState/* MaterialsTest.InitialState/*
MaterialsTest.InvalidParameter/* MaterialsTest.InvalidParameter/*
MaterialsTest.SetParameters/* MaterialsTest.SetParameters/*
TextureParameterTest.SetFixedPoint/*
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