2
0

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]
Este cometimento está contido em:
foreman
2014-07-21 14:27:24 -04:00
ascendente f5a1bcf870
cometimento 82dc9c5d23
4 ficheiros modificados com 22 adições e 2 eliminações
+2
Ver ficheiro
@@ -917,6 +917,7 @@ static const FormatConvertion RejectedData[] =
{ CL_FLOAT, CL_UNSIGNED_INT32 },
{ CL_SIGNED_INT8, CL_UNSIGNED_INT8 },
{ CL_SIGNED_INT16, CL_UNSIGNED_INT16 },
{ CL_UNORM_INT_101010, CL_UNSIGNED_INT8 },
{ CL_SIGNED_INT32, CL_UNSIGNED_INT32 }
};
@@ -927,6 +928,7 @@ static const FormatConvertion RejectedOrder[] =
{ CL_RA, CL_RG },
{ CL_LUMINANCE, CL_R },
{ CL_INTENSITY, CL_R },
{ CL_RGB, CL_RGBA },
{ CL_BGRA, CL_RGBA },
{ CL_ARGB, CL_RGBA },
{ CL_sRGB, CL_RGBA },