mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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:
committed by
GitHub
parent
482a6bcff0
commit
e678277c93
@@ -16,13 +16,20 @@
|
||||
#include "common.h"
|
||||
|
||||
cl_channel_type floatFormats[] = {
|
||||
CL_UNORM_SHORT_565, CL_UNORM_SHORT_555, CL_UNORM_INT_101010,
|
||||
CL_UNORM_SHORT_565,
|
||||
CL_UNORM_SHORT_555,
|
||||
CL_UNORM_INT_101010,
|
||||
CL_UNORM_INT_101010_2,
|
||||
CL_UNORM_INT_2_101010_EXT,
|
||||
#ifdef CL_SFIXED14_APPLE
|
||||
CL_SFIXED14_APPLE,
|
||||
#endif
|
||||
CL_UNORM_INT8, CL_SNORM_INT8, CL_UNORM_INT16,
|
||||
CL_SNORM_INT16, CL_FLOAT, CL_HALF_FLOAT,
|
||||
CL_UNORM_INT8,
|
||||
CL_SNORM_INT8,
|
||||
CL_UNORM_INT16,
|
||||
CL_SNORM_INT16,
|
||||
CL_FLOAT,
|
||||
CL_HALF_FLOAT,
|
||||
(cl_channel_type)-1,
|
||||
};
|
||||
|
||||
|
||||
@@ -2146,6 +2146,8 @@ int filter_rounding_errors(int forceCorrectlyRoundedWrites,
|
||||
|| imageInfo->format->image_channel_data_type == CL_UNORM_INT_101010
|
||||
|| imageInfo->format->image_channel_data_type
|
||||
== CL_UNORM_INT_101010_2
|
||||
|| imageInfo->format->image_channel_data_type
|
||||
== CL_UNORM_INT_2_101010_EXT
|
||||
|| imageInfo->format->image_channel_data_type == CL_UNORM_INT16
|
||||
|| imageInfo->format->image_channel_data_type == CL_SNORM_INT8
|
||||
|| imageInfo->format->image_channel_data_type == CL_SNORM_INT16
|
||||
|
||||
Reference in New Issue
Block a user