mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Disable vendor extension formats from image_from_buffer_fill_positive as the verification step is incorrect and can cause seg fault, e.g. for YUV images (#1657)
This commit is contained in:
@@ -719,6 +719,12 @@ int image_from_buffer_fill_positive(cl_device_id device, cl_context context,
|
||||
|
||||
for (auto format : formatList)
|
||||
{
|
||||
if (!IsChannelOrderSupported(format.image_channel_order)
|
||||
|| !IsChannelTypeSupported(format.image_channel_data_type))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
cl_image_desc image_desc = { 0 };
|
||||
image_desc_init(&image_desc, imageType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user