P4 to Git Change 1057445 by rili@rili_opencl_stg on 2014/07/21 14:11:34
EPR #399808 - Add CL_RGB, CL_UNORM_INT_101010 support
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#105 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#111 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuresource.cpp#186 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/memory.cpp#106 edit
[ROCm/clr commit: 1b9e65b27b]
Tá an tiomantas seo le fáil i:
@@ -197,6 +197,9 @@ static uint32_t GetHSAILImageFormatType(cmSurfFmt format)
|
||||
formatType = 6;
|
||||
break;
|
||||
*/
|
||||
case CM_SURF_FMT_BGR10_X2:
|
||||
formatType = 7;
|
||||
break;
|
||||
case CM_SURF_FMT_sR8:
|
||||
case CM_SURF_FMT_sRG8:
|
||||
case CM_SURF_FMT_sRGBA8:
|
||||
@@ -285,6 +288,9 @@ static uint32_t GetHSAILImageOrderType(gslChannelOrder chOrder)
|
||||
case HSA_IMAGE_FMT_R10G10B10_UNORM:
|
||||
orderType = 6;
|
||||
break;*/
|
||||
case GSL_CHANNEL_ORDER_RGB:
|
||||
orderType = 7;
|
||||
break;
|
||||
case GSL_CHANNEL_ORDER_RGBA:
|
||||
orderType = 8;
|
||||
break;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir