4522c56556
SWDEV-107075 - [OCL][VG10] Conformance RQ Mipmaps tests are failing. Adding the below changes to fix the failures
- For 1Darray images the Height should be 1 and we should use the correct value for "numSlices" in copyRegion
- For 2Darray images the Depth should be 1 and we should use the correct value for "numSlices" in copyRegion
- The right Height should be used when gpuMemoryDepthPitch is calculated
Also, PAL was not obeying the "numSlices" parameter for SDMA-based memory <--> image or image <--> image copies and this issue is fixed in CL#1369626.
The current changes in OCL runtime will be submitted into stg once the above CL from PAL gets promoted into OCL stg.
ReviewBoardURL = http://ocltc.amd.com/reviews/r/12260/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#17 edit
[ROCm/clr commit: df5aae929a]