From 8d9283fd5d023da6533a6daf4bbedce8124252ec Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 20 Dec 2018 16:19:39 -0500
Subject: [PATCH] P4 to Git Change 1723115 by gandryey@gera-w8 on 2018/12/20
15:12:36
SWDEV-174551 - [CQE OCL][QR][DTB-Blocker] 7 tests are failing in Conformance | Faulty CL#1720236
- Back out changelist 1720236. Conformance swaps RGB to BGR components and fails if real RGB is used. OCL can't switch to RGB until a fix into the conformance tests will be applied.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#46 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 dd67db9c21..bd0817469c 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::X, Pal::ChannelSwizzle::Y, Pal::ChannelSwizzle::Z,
+ {Pal::ChannelSwizzle::Z, Pal::ChannelSwizzle::Y, Pal::ChannelSwizzle::X,
Pal::ChannelSwizzle::One}},
// RGBA