Add missing cache flush to direct submission

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-04-26 09:52:45 +00:00
committed by Compute-Runtime-Automation
parent e5a1d33a2b
commit b881e5f0fe

View File

@@ -57,6 +57,8 @@ inline void RenderDispatcher<GfxFamily>::dispatchTlbFlush(LinearStream &cmdBuffe
PipeControlArgs args(false);
args.tlbInvalidation = true;
args.pipeControlFlushEnable = true;
args.textureCacheInvalidationEnable = true;
MemorySynchronizationCommands<GfxFamily>::addPipeControl(cmdBuffer, args);
}