mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Use GPU address to compare with SurfaceBaseAddress in ULTs
- remove redundant casts Change-Id: I175801869f24be47dc6703b61bf26c0f8a1c77c6 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9e52684f5b
commit
4296588aa9
@@ -178,7 +178,7 @@ HWTEST_F(EnqueueWriteImageTest, surfaceState) {
|
||||
EXPECT_EQ(RENDER_SURFACE_STATE::SURFACE_FORMAT_R32_UINT, surfaceState.getSurfaceFormat());
|
||||
EXPECT_EQ(RENDER_SURFACE_STATE::SURFACE_HORIZONTAL_ALIGNMENT_HALIGN_4, surfaceState.getSurfaceHorizontalAlignment());
|
||||
EXPECT_EQ(RENDER_SURFACE_STATE::SURFACE_VERTICAL_ALIGNMENT_VALIGN_4, surfaceState.getSurfaceVerticalAlignment());
|
||||
EXPECT_EQ(reinterpret_cast<uint64_t>(dstImage->getCpuAddress()), surfaceState.getSurfaceBaseAddress());
|
||||
EXPECT_EQ(dstImage->getGraphicsAllocation()->getGpuAddress(), surfaceState.getSurfaceBaseAddress());
|
||||
}
|
||||
|
||||
HWTEST_F(EnqueueWriteImageTest, pipelineSelect) {
|
||||
|
||||
Reference in New Issue
Block a user