Don't expose mipmaps on 1.2 devices

Change-Id: Id7949266f29ef06ae71c88725298822055ca7c13
This commit is contained in:
Chodor, Jaroslaw
2018-04-13 11:17:55 +02:00
parent 1504d89571
commit d516cd6edc
3 changed files with 20 additions and 4 deletions

View File

@@ -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 ";
}