mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
Improve EncodeDispatchKernel
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
baea633bdd
commit
93ba4e646b
@@ -935,7 +935,11 @@ HWCMDTEST_F(IGFX_GEN8_CORE, DispatchWalkerTest, GivenMultipleKernelsWhenDispatch
|
||||
auto samplerPointer = pID[index].getSamplerStatePointer();
|
||||
auto samplerCount = pID[index].getSamplerCount();
|
||||
EXPECT_NE(0u, samplerPointer);
|
||||
EXPECT_EQ(1u, samplerCount);
|
||||
if (EncodeSurfaceState<FamilyType>::doBindingTablePrefetch()) {
|
||||
EXPECT_EQ(1u, samplerCount);
|
||||
} else {
|
||||
EXPECT_EQ(0u, samplerCount);
|
||||
}
|
||||
EXPECT_EQ(fullAddress, gpuAddress2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user