P4 to Git Change 1759227 by gandryey@gera-w8 on 2019/03/20 17:50:27
SWDEV-79445 - OCL generic changes and code clean-up
- Add 101010 support for DX11 interop
Affected files ...
... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_d3d11.cpp#27 edit
[ROCm/clr commit: f21b3a1b92]
This commit is contained in:
@@ -1294,6 +1294,7 @@ cl_image_format D3D11Object::getCLFormatFromDXGI(DXGI_FORMAT dxgiFmt, cl_uint pl
|
||||
|
||||
case DXGI_FORMAT_R10G10B10A2_UNORM:
|
||||
fmt.image_channel_order = CL_RGBA;
|
||||
fmt.image_channel_data_type = CL_UNORM_INT_101010;
|
||||
break;
|
||||
|
||||
case DXGI_FORMAT_R10G10B10A2_UINT:
|
||||
|
||||
Reference in New Issue
Block a user