8c9e6d0fa5
The cl_khr_depth_images associated macro definition is defined twice in the compiler: in opencl-c.h and automatically by the compiler deduced from the cl-ext list. These two co-exist and there is no need to remove cl_khr_depth_images from the cl-ext list. If we remove cl_khr_depth_images from the cl-ext list, and we do not include opencl-c.h the macro is not defined. This fixes conformance test ./test_compiler compiler_defines_for_extensions when using Comgr with -include opencl-c-base.h -fdeclare-opencl-builtins without including opencl-c.h. Before we got the error `ERROR: Supported extension cl_khr_depth_images not defined in kernel` This change is needed to eventually get rid of the opencl-c.pch that is embedded in comgr, and that makes implementing a compilation cache in comgr hard. Change-Id: I76497874ebe7163966420d4ac23a0788b93a36fd