Commit f20d2b95 by Gert Wollny

Capture/Replay: Capture params of (Get)TexEnv calls

Bug: angleproject:6055 Change-Id: I44a7bd4b339d7834f9306a0de7baa400c640dda4 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2957951Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 11489df0
...@@ -137,7 +137,8 @@ void CaptureGetTexEnvfv_params(const State &glState, ...@@ -137,7 +137,8 @@ void CaptureGetTexEnvfv_params(const State &glState,
GLfloat *params, GLfloat *params,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); int count = GetTextureEnvParameterCount(pnamePacked);
CaptureMemory(params, count * sizeof(GLfloat), paramCapture);
} }
void CaptureGetTexEnviv_params(const State &glState, void CaptureGetTexEnviv_params(const State &glState,
...@@ -312,7 +313,8 @@ void CaptureTexEnvfv_params(const State &glState, ...@@ -312,7 +313,8 @@ void CaptureTexEnvfv_params(const State &glState,
const GLfloat *params, const GLfloat *params,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); int count = GetTextureEnvParameterCount(pnamePacked);
CaptureMemory(params, count * sizeof(GLfloat), paramCapture);
} }
void CaptureTexEnviv_params(const State &glState, void CaptureTexEnviv_params(const State &glState,
......
...@@ -105,6 +105,4 @@ MaterialsTest.InitialState/* ...@@ -105,6 +105,4 @@ MaterialsTest.InitialState/*
MaterialsTest.InvalidParameter/* MaterialsTest.InvalidParameter/*
MaterialsTest.SetParameters/* MaterialsTest.SetParameters/*
TextureEnvTest.InitialState/*
TextureEnvTest.Set/*
TextureParameterTest.SetFixedPoint/* 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