From c27ec8ea668bdd9e8139842cc8a0decb8666e469 Mon Sep 17 00:00:00 2001 From: Mark Lobodzinski Date: Tue, 7 Apr 2015 16:07:57 -0500 Subject: Updated header file to version 67 (xglResetFences) Added changes to fence semantics for this revision. tests: Create contructor with no args intel: Added Tony's patch for ResetFences support in the ICD. v2: reset fence in intel_fence_seq_seqno(). We need the reset to make xglQueueWaitIdle() work (olv) layers: Added ResetFences support to MemTracker Add new entrypoint and fence semantics for fence status flags. layers: Completed changed fence semantics for MemTracker Completed the changes for xgl header revision 67, adding resetFences. layers: Changes to support xglResetFences v2: squashed into one commit (olv) --- layers/param_checker.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'layers/param_checker.cpp') diff --git a/layers/param_checker.cpp b/layers/param_checker.cpp index b7b15ac4..6da0f0c5 100644 --- a/layers/param_checker.cpp +++ b/layers/param_checker.cpp @@ -519,6 +519,13 @@ XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglWaitForFences(XGL_DEVICE device, uint32_t return result; } +XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglResetFences(XGL_DEVICE device, uint32_t fenceCount, XGL_FENCE* pFences) +{ + + XGL_RESULT result = nextTable.ResetFences(device, fenceCount, pFences); + return result; +} + XGL_LAYER_EXPORT XGL_RESULT XGLAPI xglCreateSemaphore(XGL_DEVICE device, const XGL_SEMAPHORE_CREATE_INFO* pCreateInfo, XGL_SEMAPHORE* pSemaphore) { char str[1024]; -- cgit v1.2.3