P4 to Git Change 1999652 by gandryey@gera-win10 on 2019/09/17 14:43:58
SWDEV-190672 - [AMF][OpenCL] OpenCL runtime uses wrong pitch value to 10bits format
- Add missing recognition of RGB10 format in GSL path
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#160 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#250 edit
[ROCm/clr commit: f1ca6e457b]
This commit is contained in:
@@ -183,6 +183,7 @@ static uint32_t GetHSAILImageFormatType(cmSurfFmt format) {
|
||||
formatType = HSA_EXT_IMAGE_CHANNEL_TYPE_UNORM_INT16;
|
||||
break;
|
||||
case CM_SURF_FMT_BGR10_X2:
|
||||
case CM_SURF_FMT_RGB10_X2:
|
||||
formatType = HSA_EXT_IMAGE_CHANNEL_TYPE_UNORM_SHORT_101010;
|
||||
break;
|
||||
case CM_SURF_FMT_sR8I:
|
||||
|
||||
Reference in New Issue
Block a user