11/*
2- * Copyright (C) 2017-2018 Intel Corporation
2+ * Copyright (C) 2017-2019 Intel Corporation
33 *
44 * SPDX-License-Identifier: MIT
55 *
@@ -41,10 +41,8 @@ static const uint8_t expectedUNORM8[4] = { 0xff, 0x00, 0xd4, 0xa9};
4141static const uint8_t expectedUNORM8sRGB[4 ] = { 0xff , 0x00 , 0xeb , 0xa9 };
4242static const uint8_t expectedUNORM8sBGR[4 ] = { 0xeb , 0x00 , 0xff , 0xa9 };
4343
44- #if SUPPORT_SNORM
45- static const uint16_t expectedSNORM16[4 ] = {0x7fff , 0x0000 , 0x2000 , 0x4000 };
46- static const uint8_t expectedSNORM8[4 ] = { 0x7f , 0x00 , 0x1f , 0x3f };
47- #endif
44+ static const uint16_t expectedSNORM16[4 ] = {0x7fff , 0x0000 , 0x6AA9 , 0x5554 };
45+ static const uint8_t expectedSNORM8[4 ] = { 0x7f , 0x00 , 0x69 , 0x54 };
4846
4947static auto expectedSINT32 = fillValues;
5048static uint16_t expectedSINT16[4 ] = { 0x0000 , 0x0000 , 0x5555 , 0xaaaa };
@@ -61,10 +59,8 @@ struct FillChannelType {
6159 cl_channel_type type;
6260 const void *expectedValues;
6361} fillChannelTypes[] = {
64- #if SUPPORT_SNORM
6562 {CL_SNORM_INT8, expectedSNORM8},
6663 {CL_SNORM_INT16, expectedSNORM16},
67- #endif
6864 {CL_UNORM_INT8, expectedUNORM8},
6965 {CL_UNORM_INT16, expectedUNORM16},
7066 {CL_SIGNED_INT8, expectedSINT8},
0 commit comments