P4 to Git Change 1706316 by gandryey@gera-w8 on 2018/11/13 14:37:46
SWDEV-168035 - [18.40] OCL runtime interop DX9EX surface using format uyvy and yuy2 fails on ASICs older than Vega
- The actual issue for this ticket is GSL creates an image view for YUY2 format with incorrect pitch. However OCL runtime can have a workaround, which can disable the view creation by removing useless RGBA to RGB and then back to RGBA.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#153 edit
[ROCm/clr commit: a8c12ee3b6]
This commit is contained in:
@@ -287,8 +287,6 @@ static const MemoryFormat MemoryFormatMap[] = {
|
||||
|
||||
// RGB
|
||||
{{CL_RGB, CL_UNORM_INT_101010}, {GSL_CHANNEL_ORDER_RGB, CM_SURF_FMT_BGR10_X2}},
|
||||
{{CL_RGB, CL_UNSIGNED_INT8}, // This is used only by blit kernel
|
||||
{GSL_CHANNEL_ORDER_RGBA, CM_SURF_FMT_RGBA8UI}},
|
||||
|
||||
// RGBA
|
||||
{{CL_RGBA, CL_UNORM_INT8}, {GSL_CHANNEL_ORDER_RGBA, CM_SURF_FMT_RGBA8}},
|
||||
|
||||
Reference in New Issue
Block a user