Commit 5ee4a0cb by Cody Northrop Committed by Angle LUCI CQ

Capture/Replay: Support GetUniformIndices

Test: Genshin Impact MEC Bug: b/181794064 Change-Id: I69e2c78678b8e279478ae946131b7e1730070cb0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2921066Reviewed-by: 's avatarTim Van Patten <timvp@google.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Cody Northrop <cnorthrop@google.com>
parent fd262fdc
...@@ -576,7 +576,10 @@ void CaptureGetUniformIndices_uniformNames(const State &glState, ...@@ -576,7 +576,10 @@ void CaptureGetUniformIndices_uniformNames(const State &glState,
GLuint *uniformIndices, GLuint *uniformIndices,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); for (GLsizei index = 0; index < uniformCount; ++index)
{
CaptureString(uniformNames[index], paramCapture);
}
} }
void CaptureGetUniformIndices_uniformIndices(const State &glState, void CaptureGetUniformIndices_uniformIndices(const State &glState,
...@@ -587,7 +590,7 @@ void CaptureGetUniformIndices_uniformIndices(const State &glState, ...@@ -587,7 +590,7 @@ void CaptureGetUniformIndices_uniformIndices(const State &glState,
GLuint *uniformIndices, GLuint *uniformIndices,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); CaptureMemory(uniformIndices, sizeof(GLuint) * uniformCount, paramCapture);
} }
void CaptureGetUniformuiv_params(const State &glState, void CaptureGetUniformuiv_params(const State &glState,
......
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