mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Don't expose mipmaps on 1.2 devices
Change-Id: Id7949266f29ef06ae71c88725298822055ca7c13
This commit is contained in:
@@ -123,6 +123,10 @@ void Device::initializeCaps() {
|
||||
deviceInfo.independentForwardProgress = false;
|
||||
}
|
||||
|
||||
if (enabledClVersion >= 20) {
|
||||
deviceExtensions += "cl_khr_mipmap_image cl_khr_mipmap_image_writes ";
|
||||
}
|
||||
|
||||
if (hwInfo.capabilityTable.ftrSupportsFP64) {
|
||||
deviceExtensions += "cl_khr_fp64 ";
|
||||
}
|
||||
|
||||
@@ -46,9 +46,7 @@ const char *deviceExtensionsList = "cl_khr_3d_image_writes "
|
||||
"cl_intel_device_side_avc_motion_estimation "
|
||||
"cl_khr_priority_hints "
|
||||
"cl_khr_throttle_hints "
|
||||
"cl_khr_create_command_queue "
|
||||
"cl_khr_mipmap_image "
|
||||
"cl_khr_mipmap_image_writes ";
|
||||
"cl_khr_create_command_queue ";
|
||||
|
||||
std::string getExtensionsList(const HardwareInfo &hwInfo) {
|
||||
std::string allExtensionsList;
|
||||
|
||||
Reference in New Issue
Block a user