mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Pass root device index to Image::appendSurfaceStateParams
Related-To: NEO-4672 Change-Id: I65b9fcf6c668b903dc4fe134e51202e7c7f093e3 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
80b983d6d2
commit
f97993ec31
@ -59,7 +59,7 @@ GEN11TEST_F(AppendSurfaceStateParamsTest, givenImageFormatWithoutAlphaChannelWhe
|
||||
createImage();
|
||||
|
||||
auto imageHw = static_cast<ImageHw<ICLFamily> *>(image.get());
|
||||
imageHw->appendSurfaceStateParams(&surfaceState);
|
||||
imageHw->appendSurfaceStateParams(&surfaceState, context.getDevice(0)->getRootDeviceIndex());
|
||||
|
||||
bool tapDiscardConfigChanged = RENDER_SURFACE_STATE::SAMPLE_TAP_DISCARD_DISABLE_DISABLE != surfaceState.getSampleTapDiscardDisable();
|
||||
EXPECT_FALSE(tapDiscardConfigChanged);
|
||||
@ -71,7 +71,7 @@ GEN11TEST_F(AppendSurfaceStateParamsTest, givenImageFormatWithAlphaChannelWhenAp
|
||||
createImage();
|
||||
|
||||
auto imageHw = static_cast<ImageHw<ICLFamily> *>(image.get());
|
||||
imageHw->appendSurfaceStateParams(&surfaceState);
|
||||
imageHw->appendSurfaceStateParams(&surfaceState, context.getDevice(0)->getRootDeviceIndex());
|
||||
|
||||
bool tapDiscardConfigChanged = RENDER_SURFACE_STATE::SAMPLE_TAP_DISCARD_DISABLE_DISABLE != surfaceState.getSampleTapDiscardDisable();
|
||||
EXPECT_TRUE(tapDiscardConfigChanged);
|
||||
|
Reference in New Issue
Block a user