On TGLLP DepthCacheFlush in PC has to be set together with DepthStall
Change-Id: I8d19f1d2de513ad559c565bf1fc4308912b9ee64 Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
This commit is contained in:
parent
99b0f04cc0
commit
7183d30096
|
@ -68,6 +68,7 @@ void PreambleHelper<TGLLPFamily>::addPipeControlBeforeVfeCmd(LinearStream *pComm
|
|||
if (!EngineHelpers::isCcs(engineType)) {
|
||||
cmd.setRenderTargetCacheFlushEnable(true);
|
||||
cmd.setDepthCacheFlushEnable(true);
|
||||
cmd.setDepthStallEnable(true);
|
||||
}
|
||||
cmd.setDcFlushEnable(true);
|
||||
}
|
||||
|
|
|
@ -70,6 +70,7 @@ TGLLPTEST_F(Gen12LpPreambleVfeState, WaOff) {
|
|||
const auto &pc = *reinterpret_cast<PIPE_CONTROL *>(*itorPC);
|
||||
EXPECT_FALSE(pc.getRenderTargetCacheFlushEnable());
|
||||
EXPECT_FALSE(pc.getDepthCacheFlushEnable());
|
||||
EXPECT_FALSE(pc.getDepthStallEnable());
|
||||
EXPECT_FALSE(pc.getDcFlushEnable());
|
||||
EXPECT_EQ(1u, pc.getCommandStreamerStallEnable());
|
||||
}
|
||||
|
@ -108,6 +109,7 @@ TGLLPTEST_F(Gen12LpPreambleVfeState, givenRcsEngineWhenWaIsSetThenAppropriatePip
|
|||
const auto &pc = *reinterpret_cast<PIPE_CONTROL *>(*itorPC);
|
||||
EXPECT_TRUE(pc.getRenderTargetCacheFlushEnable());
|
||||
EXPECT_TRUE(pc.getDepthCacheFlushEnable());
|
||||
EXPECT_TRUE(pc.getDepthStallEnable());
|
||||
EXPECT_TRUE(pc.getDcFlushEnable());
|
||||
EXPECT_EQ(1u, pc.getCommandStreamerStallEnable());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue