projects
/
clang
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa79ef6
)
[OpenCL] Reorder the CLK_sRGBx/sRGBA defines, NFC
author
Sven van Haastregt
<sven.vanhaastregt@arm.com>
Thu, 11 Jan 2018 14:05:38 +0000
(14:05 +0000)
committer
Sven van Haastregt
<sven.vanhaastregt@arm.com>
Thu, 11 Jan 2018 14:05:38 +0000
(14:05 +0000)
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
lib/Headers/opencl-c.h
patch
|
blob
|
history
diff --git
a/lib/Headers/opencl-c.h
b/lib/Headers/opencl-c.h
index ce204b04c03059d2525d056bf5e7db7b53dbed85..88ab456abdfa7d2d9ac1a4604ad36e3f1dea3b48 100644
(file)
--- 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