P4 to Git Change 1310014 by gandryey@gera-w8 on 2016/09/01 17:32:18

SWDEV-101621 - [CQE OCL][OpenCL on PAL] 6 WF Conformance tests are failing
	- Make sure the rowPitch is aligned to pixels for images created from buffer

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#20 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#10 edit
Tá an tiomantas seo le fáil i:
foreman
2016-09-01 17:44:19 -04:00
tuismitheoir 02a04ecb2c
tiomantas 09c96ae91c
D'athraigh 2 comhad le 16 breiseanna agus 1 scriosta
+1 -1
Féach ar an gComhad
@@ -347,7 +347,7 @@ void NullDevice::fillDeviceInfo(
info_.image3DMaxHeight_ = std::min(2 * Ki, maxTextureSize);
info_.image3DMaxDepth_ = std::min(2 * Ki, maxTextureSize);
info_.imagePitchAlignment_ = 1; // PAL uses LINEAR_GENERAL
info_.imagePitchAlignment_ = 256; // PAL uses LINEAR_ALIGNED
info_.imageBaseAddressAlignment_ = 256; // XXX: 256 byte base address alignment for now
info_.bufferFromImageSupport_ = CL_TRUE;