sRGB writes are not supported now, and we should not return them if any write was set as CL_MEM_FLAGS.
2989c03 Runtime: Refine clGetSupportedImageFormats to support CL_MEM_FLAGS
src/cl_api.c | 1 +
src/cl_image.c | 5 +++++
src/cl_image.h | 1 +
3 files changed, 7 insertions(+)
Upstream: cgit.freedesktop.org