From: Sven van Haastregt Date: Thu, 11 Jan 2018 14:05:38 +0000 (+0000) Subject: [OpenCL] Reorder the CLK_sRGBx/sRGBA defines, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a28cfce9f73f26e4cded0c359d281da803f1d08c;p=clang [OpenCL] Reorder the CLK_sRGBx/sRGBA defines, NFC Swap them so that all channel order defines are ordered according to their values. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322278 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/opencl-c.h b/lib/Headers/opencl-c.h index ce204b04c0..88ab456abd 100644 --- a/lib/Headers/opencl-c.h +++ b/lib/Headers/opencl-c.h @@ -15421,8 +15421,8 @@ int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_dept #define CLK_DEPTH_STENCIL 0x10BE #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 #define CLK_sRGB 0x10BF -#define CLK_sRGBA 0x10C1 #define CLK_sRGBx 0x10C0 +#define CLK_sRGBA 0x10C1 #define CLK_sBGRA 0x10C2 #define CLK_ABGR 0x10C3 #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0