mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
fix: Add tlb invalidation to render state cache flush
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
318616b3b1
commit
9df35ac9bb
@@ -1220,6 +1220,7 @@ SubmissionStatus CommandStreamReceiverHw<GfxFamily>::flushPipeControl(bool state
|
||||
args.textureCacheInvalidationEnable = true;
|
||||
args.renderTargetCacheFlushEnable = true;
|
||||
args.stateCacheInvalidationEnable = true;
|
||||
args.tlbInvalidation = true;
|
||||
}
|
||||
|
||||
auto dispatchSize = MemorySynchronizationCommands<GfxFamily>::getSizeForBarrierWithPostSyncOperation(peekRootDeviceEnvironment(), args.tlbInvalidation) + this->getCmdSizeForPrologue();
|
||||
|
||||
Reference in New Issue
Block a user