P4 to Git Change 1559253 by gandryey@gera-w8 on 2018/05/24 15:44:23

SWDEV-79445 - OCL generic changes and code clean-up
	- Following CL#1558704. Fix a regression with AMDIL path. Allocate default device sampler

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#588 edit
这个提交包含在:
foreman 于 2018-05-24 15:56:10 -04:00 提交
1 父节点 bcea58f07f
当前提交 f095889106
1 个文件已更改
+6
+6
查看文件
@@ -1623,6 +1623,12 @@ bool Device::createSampler(const amd::Sampler& owner, device::Sampler** sampler)
return false;
}
*sampler = gpuSampler;
} else {
//! Currently allocate the base device class for AMDIL path
*sampler = new device::Sampler();
if (*sampler == nullptr) {
return false;
}
}
return true;
}