From 0ec858764204bf502535b799210db674de7c9e8a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 23 Jul 2014 20:37:08 -0400 Subject: clover: Query the device to see if images are supported Reviewed-by: Francisco Jerez --- src/gallium/state_trackers/clover/api/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/clover/api') diff --git a/src/gallium/state_trackers/clover/api/device.cpp b/src/gallium/state_trackers/clover/api/device.cpp index 97b2cf9c996..e8254684258 100644 --- a/src/gallium/state_trackers/clover/api/device.cpp +++ b/src/gallium/state_trackers/clover/api/device.cpp @@ -184,7 +184,7 @@ clGetDeviceInfo(cl_device_id d_dev, cl_device_info param, break; case CL_DEVICE_IMAGE_SUPPORT: - buf.as_scalar() = CL_TRUE; + buf.as_scalar() = dev.image_support(); break; case CL_DEVICE_MAX_PARAMETER_SIZE: -- cgit v1.2.3