mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Fix DC flush programming in non concurrent scenarios.
-If out of order flag was disabled then pipe control was not having dc flush. -This could led to a batch buffer that doesn't end with dc flush. -This change adds differentiation between pipe controls that may be erased and pipe controls that are used as a part of epilogue command Change-Id: Ic9c970c75c89ff524a0e40506eff6dd097760145
This commit is contained in:
committed by
sys_ocldev
parent
2d0af9d4a4
commit
acb044dce3
@@ -533,6 +533,7 @@ HWTEST_F(WddmCommandStreamMockGdiTest, givenRecordedCommandBufferWhenItIsSubmitt
|
||||
LinearStream cs(commandBuffer);
|
||||
|
||||
DispatchFlags dispatchFlags;
|
||||
dispatchFlags.guardCommandBufferWithPipeControl = true;
|
||||
dispatchFlags.requiresCoherency = true;
|
||||
mockCsr->flushTask(cs, 0u, cs, cs, cs, cs, 0u, dispatchFlags);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user