swr/rast: Fix cache of API thread event manager

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
Tim Rowley 2017-12-13 17:52:52 -06:00
parent c68b2d5c79
commit 12adf2c815
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ HANDLE SwrCreateContext(
#if defined(KNOB_ENABLE_AR)
// cache the API thread event manager, for use with sim layer
pCreateInfo->hArEventManager = pContext->pArContext[16];
pCreateInfo->hArEventManager = pContext->pArContext[pContext->NumWorkerThreads + 1];
#endif
// State setup AFTER context is fully initialized