test: when heapless is enabled then 3dstate is programmed during prolog
Related-to: NEO-12737 Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
This commit is contained in:
parent
021723e154
commit
417932d856
|
@ -1719,6 +1719,9 @@ void find3dBtdCommand(LinearStream &cmdStream, size_t offset, size_t size, uint6
|
||||||
HWTEST2_F(RayTracingCmdListTest,
|
HWTEST2_F(RayTracingCmdListTest,
|
||||||
givenRayTracingKernelWhenRegularCmdListExecutedAndRegularExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
givenRayTracingKernelWhenRegularCmdListExecutedAndRegularExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
||||||
RayTracingMatcher) {
|
RayTracingMatcher) {
|
||||||
|
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
|
||||||
|
GTEST_SKIP();
|
||||||
|
}
|
||||||
|
|
||||||
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
||||||
ultCsr->storeMakeResidentAllocations = true;
|
ultCsr->storeMakeResidentAllocations = true;
|
||||||
|
@ -1789,6 +1792,10 @@ HWTEST2_F(RayTracingCmdListTest,
|
||||||
HWTEST2_F(RayTracingCmdListTest,
|
HWTEST2_F(RayTracingCmdListTest,
|
||||||
givenRayTracingKernelWhenRegularCmdListExecutedAndImmediateExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
givenRayTracingKernelWhenRegularCmdListExecutedAndImmediateExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
||||||
RayTracingMatcher) {
|
RayTracingMatcher) {
|
||||||
|
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
|
||||||
|
GTEST_SKIP();
|
||||||
|
}
|
||||||
|
|
||||||
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
||||||
ultCsr->storeMakeResidentAllocations = true;
|
ultCsr->storeMakeResidentAllocations = true;
|
||||||
|
|
||||||
|
@ -1843,6 +1850,10 @@ HWTEST2_F(RayTracingCmdListTest,
|
||||||
HWTEST2_F(RayTracingCmdListTest,
|
HWTEST2_F(RayTracingCmdListTest,
|
||||||
givenRayTracingKernelWhenImmediateCmdListExecutedAndImmediateExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
givenRayTracingKernelWhenImmediateCmdListExecutedAndImmediateExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
||||||
RayTracingMatcher) {
|
RayTracingMatcher) {
|
||||||
|
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
|
||||||
|
GTEST_SKIP();
|
||||||
|
}
|
||||||
|
|
||||||
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
||||||
ultCsr->storeMakeResidentAllocations = true;
|
ultCsr->storeMakeResidentAllocations = true;
|
||||||
|
|
||||||
|
@ -1901,6 +1912,10 @@ HWTEST2_F(RayTracingCmdListTest,
|
||||||
HWTEST2_F(RayTracingCmdListTest,
|
HWTEST2_F(RayTracingCmdListTest,
|
||||||
givenRayTracingKernelWhenImmediateCmdListExecutedAndRegularExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
givenRayTracingKernelWhenImmediateCmdListExecutedAndRegularExecutedAgainThenDispatch3dBtdCommandOnceMakeResidentTwiceAndPipeControlWithStateCacheFlushAfterWalker,
|
||||||
RayTracingMatcher) {
|
RayTracingMatcher) {
|
||||||
|
if (device->getNEODevice()->getCompilerProductHelper().isHeaplessModeEnabled()) {
|
||||||
|
GTEST_SKIP();
|
||||||
|
}
|
||||||
|
|
||||||
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
auto ultCsr = static_cast<UltCommandStreamReceiver<FamilyType> *>(commandQueue->getCsr());
|
||||||
ultCsr->storeMakeResidentAllocations = true;
|
ultCsr->storeMakeResidentAllocations = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue