P4 to Git Change 1124329 by gandryey@gera-w8 on 2015/02/23 19:50:45

ECR #304775 - Enable CL-GL depth extension

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#303 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#116 edit


[ROCm/clr commit: 2b6c49020a]
Цей коміт міститься в:
foreman
2015-02-23 19:59:07 -05:00
джерело bb18e87796
коміт c384997fbd
2 змінених файлів з 3 додано та 4 видалено
+2 -1
Переглянути файл
@@ -999,7 +999,8 @@ Image::numSupportedFormats(const Context& context, cl_mem_object_type image_type
if (devices[i]->settings().supportDepthsRGB_) {
supportDepthsRGB = true;
}
if (devices[i]->settings().checkExtension(ClKhrGLDepthImages)) {
if (devices[i]->settings().checkExtension(ClKhrGLDepthImages) &&
(context.info().flags_ & Context::GLDeviceKhr)) {
supportDepthStencil = true;
}
}