Skip to content

Commit 17ed507

Browse files
[UR][L0] urBindlessImagesGetImageMemoryHandleTypeSupportExp correction
VK_FORMAT_R8G8B8A8_UNORM is supported on L0 urt, correction to verifyCommonImagePropertiesSupport. Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
1 parent 5f713e2 commit 17ed507

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

unified-runtime/source/adapters/level_zero/image_common.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,16 +1014,6 @@ bool verifyCommonImagePropertiesSupport(
10141014
}
10151015
}
10161016

1017-
// Verify unnormalized channel type support.
1018-
// LevelZero currently doesn't support unnormalized channel types.
1019-
switch (pImageFormat->channelType) {
1020-
default:
1021-
break;
1022-
case UR_IMAGE_CHANNEL_TYPE_UNORM_INT8:
1023-
case UR_IMAGE_CHANNEL_TYPE_UNORM_INT16:
1024-
return false;
1025-
}
1026-
10271017
return supported;
10281018
}
10291019

0 commit comments

Comments
 (0)