Commit 8cf6d8cc by Gert Wollny Committed by Angle LUCI CQ

Capture/Replay: Handle Gen/Delete Semaphores and fix map emit

Add capturing of the handles used in GenSemaphores and DeleteSemaphore, fix the emission of the gSemaphoreMap. and enable capture/replay tests. Change-Id: Iabb88bd1d6c22c08271d0883607efb72de9d3d0c Bug: angleproject:6107 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2988679Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Commit-Queue: Gert Wollny <gert.wollny@collabora.com>
parent e6e99c54
...@@ -5524,7 +5524,7 @@ void WriteParamValueReplay<ParamType::TSemaphoreID>(std::ostream &os, ...@@ -5524,7 +5524,7 @@ void WriteParamValueReplay<ParamType::TSemaphoreID>(std::ostream &os,
const CallCapture &call, const CallCapture &call,
gl::SemaphoreID value) gl::SemaphoreID value)
{ {
os << "gSempahoreMap[" << value.value << "]"; os << "gSemaphoreMap[" << value.value << "]";
} }
template <> template <>
......
...@@ -2558,7 +2558,7 @@ void CaptureDeleteSemaphoresEXT_semaphoresPacked(const State &glState, ...@@ -2558,7 +2558,7 @@ void CaptureDeleteSemaphoresEXT_semaphoresPacked(const State &glState,
const SemaphoreID *semaphores, const SemaphoreID *semaphores,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); CaptureMemory(semaphores, sizeof(SemaphoreID) * n, paramCapture);
} }
void CaptureGenSemaphoresEXT_semaphoresPacked(const State &glState, void CaptureGenSemaphoresEXT_semaphoresPacked(const State &glState,
...@@ -2567,7 +2567,7 @@ void CaptureGenSemaphoresEXT_semaphoresPacked(const State &glState, ...@@ -2567,7 +2567,7 @@ void CaptureGenSemaphoresEXT_semaphoresPacked(const State &glState,
SemaphoreID *semaphores, SemaphoreID *semaphores,
ParamCapture *paramCapture) ParamCapture *paramCapture)
{ {
UNIMPLEMENTED(); CaptureGenHandles(n, semaphores, paramCapture);
} }
void CaptureGetSemaphoreParameterui64vEXT_params(const State &glState, void CaptureGetSemaphoreParameterui64vEXT_params(const State &glState,
......
...@@ -60,7 +60,6 @@ OcclusionQueriesTest.* ...@@ -60,7 +60,6 @@ OcclusionQueriesTest.*
PBOExtensionTest.* PBOExtensionTest.*
PixmapTest.Clearing/* PixmapTest.Clearing/*
RobustClientMemoryTest.* RobustClientMemoryTest.*
SemaphoreTest.*
SRGBFramebufferTest.Validation/* SRGBFramebufferTest.Validation/*
StateChangeRenderTest.GenerateMipmap/* StateChangeRenderTest.GenerateMipmap/*
SyncQueriesTest.* SyncQueriesTest.*
......
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