From f874108c45865d73c99afed8ed9ca25f2a33d384 Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 13 Dec 2018 18:38:40 -0500
Subject: [PATCH] P4 to Git Change 1720236 by gandryey@gera-w8 on 2018/12/13
18:07:26
SWDEV-172784 - No Video playback while 10 bit pixel format is enable
- Correct the channel's order for RGB10
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#45 edit
---
rocclr/runtime/device/pal/paldefs.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/pal/paldefs.hpp b/rocclr/runtime/device/pal/paldefs.hpp
index bd0817469c..dd67db9c21 100644
--- a/rocclr/runtime/device/pal/paldefs.hpp
+++ b/rocclr/runtime/device/pal/paldefs.hpp
@@ -391,7 +391,7 @@ static const MemoryFormat MemoryFormatMap[] = {
// RGB
{{CL_RGB, CL_UNORM_INT_101010},
Pal::ChNumFormat::X10Y10Z10W2_Unorm,
- {Pal::ChannelSwizzle::Z, Pal::ChannelSwizzle::Y, Pal::ChannelSwizzle::X,
+ {Pal::ChannelSwizzle::X, Pal::ChannelSwizzle::Y, Pal::ChannelSwizzle::Z,
Pal::ChannelSwizzle::One}},
// RGBA