Add testing of CL_UNORM_INT_2_101010_EXT (#2112)

All existing tests in `test_image_streams`, that are capable of testing
image formats using the `CL_UNORM_INT_2_101010_EXT` data type, do so.

Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
This commit is contained in:
gorazd-sumkovski-arm
2024-10-22 17:54:46 +01:00
committed by GitHub
parent 482a6bcff0
commit e678277c93
5 changed files with 76 additions and 26 deletions

View File

@@ -1320,7 +1320,8 @@ size_t get_pixel_bytes(const cl_image_format *fmt)
case CL_UNORM_SHORT_555: return 2;
case CL_UNORM_INT_101010:
case CL_UNORM_INT_101010_2: return 4;
case CL_UNORM_INT_101010_2:
case CL_UNORM_INT_2_101010_EXT: return 4;
case CL_SNORM_INT8:
case CL_UNORM_INT8: