Add image1DMaxWidth_ for maxTexture1D property

Needed by SWDEV-254068

Change-Id: Ic650dfb6e5b38d7544ba647c53de52deda39b92d
Esse commit está contido em:
Rahul Garg
2020-10-09 19:07:04 +00:00
commit c0f8b52f06
4 arquivos alterados com 14 adições e 0 exclusões
+1
Ver Arquivo
@@ -541,6 +541,7 @@ void NullDevice::fillDeviceInfo(const CALdeviceattribs& calAttr, const gslMemInf
// OpenCL1.2 device info fields
info_.builtInKernels_ = "";
info_.imageMaxBufferSize_ = MaxImageBufferSize;
info_.image1DMaxWidth_ = maxTextureSize;
info_.imageMaxArraySize_ = MaxImageArraySize;
info_.preferredInteropUserSync_ = true;
info_.printfBufferSize_ = PrintfDbg::WorkitemDebugSize * info().maxWorkGroupSize_;