r322278 - [OpenCL] Reorder the CLK_sRGBx/sRGBA defines, NFC
Sven van Haastregt via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 06:05:39 PST 2018
Author: svenvh
Date: Thu Jan 11 06:05:38 2018
New Revision: 322278
URL: http://llvm.org/viewvc/llvm-project?rev=322278&view=rev
Log:
[OpenCL] Reorder the CLK_sRGBx/sRGBA defines, NFC
Swap them so that all channel order defines are ordered according to
their values.
Modified:
cfe/trunk/lib/Headers/opencl-c.h
Modified: cfe/trunk/lib/Headers/opencl-c.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/opencl-c.h?rev=322278&r1=322277&r2=322278&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/opencl-c.h (original)
+++ cfe/trunk/lib/Headers/opencl-c.h Thu Jan 11 06:05:38 2018
@@ -15421,8 +15421,8 @@ int __ovld __cnfn get_image_channel_data
#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
More information about the cfe-commits
mailing list