Searched refs:supports_half (Results 1 – 4 of 4) sorted by relevance
/external/OpenCL-CTS/test_conformance/gl/ |
D | test_images_write_common.cpp | 300 MTdata d, bool supports_half ) in test_cl_image_write() argument 324 if (*outType == kHalf && !supports_half) { in test_cl_image_write() 406 MTdata d, bool supports_half ) in test_image_write() argument 424 width, height, depth, outFormat, outType, outSourceBuffer, d, supports_half ); in test_image_write() 427 int supportsHalf(cl_context context, bool* supports_half) in supportsHalf() argument 440 *supports_half = is_extension_available(devices[0], "cl_khr_fp16"); in supportsHalf() 569 bool supports_half = false; in test_image_format_write() local 570 error = supportsHalf(context, &supports_half); in test_image_format_write() 575 depth, &clFormat, &sourceType, (void **)&outSourceBuffer, d, supports_half ); in test_image_format_write() 577 if( error != 0 || ((sourceType == kHalf ) && !supports_half)) { in test_image_format_write()
|
D | test_renderbuffer.cpp | 59 MTdata d, bool supports_half ); 65 extern int supportsHalf(cl_context context, bool* supports_half); 269 …ge_format *outFormat, ExplicitType *outType, MTdata d, void **outSourceBuffer, bool supports_half ) in test_attach_renderbuffer_write_to_image() argument 282 imageHeight, 1, outFormat, outType, outSourceBuffer, d, supports_half ); in test_attach_renderbuffer_write_to_image() 319 bool supports_half = false; in test_renderbuffer_image_write() local 320 error = supportsHalf(context, &supports_half); in test_renderbuffer_image_write() 324 …Renderbuffer, width, height, &clFormat, &sourceType, d, (void **)&outSourceBuffer, supports_half ); in test_renderbuffer_image_write() 325 if( error != 0 || ((sourceType == kHalf ) && !supports_half)) in test_renderbuffer_image_write()
|
D | test_images_getinfo_common.cpp | 26 extern int supportsHalf(cl_context context, bool* supports_half); 103 bool supports_half = false; in test_image_format_get_info() local 104 error = supportsHalf(context, &supports_half); in test_image_format_get_info() 107 if (!supports_half) return 0; in test_image_format_get_info()
|
D | test_images_read_common.cpp | 26 extern int supportsHalf(cl_context context, bool* supports_half); 408 bool supports_half = false; in test_image_format_read() local 409 error = supportsHalf(context, &supports_half); in test_image_format_read() 412 if (!supports_half) return 0; in test_image_format_read()
|