Searched refs:supports_depth (Results 1 – 3 of 3) sorted by relevance
93 extern int supportsDepth(cl_context context, bool* supports_depth);120 bool supports_depth; in test_image_format_methods() local121 error = supportsDepth(context, &supports_depth); in test_image_format_methods()123 if (!supports_depth) return 0; in test_image_format_methods()
465 int supportsDepth(cl_context context, bool* supports_depth) in supportsDepth() argument478 *supports_depth = is_extension_available(devices[0], "cl_khr_gl_depth_images"); in supportsDepth()773 bool supports_depth; in test_images_write_common() local774 int errorInGetInfo = supportsDepth(context, &supports_depth); in test_images_write_common()776 if (!supports_depth) return 0; in test_images_write_common()
28 extern int supportsDepth(cl_context context, bool* supports_depth);426 bool supports_depth; in test_image_format_read() local427 error = supportsDepth(context, &supports_depth); in test_image_format_read()429 if (!supports_depth) return 0; in test_image_format_read()