From 5e89ef46609d590f2807ef26f39eb532cb948134 Mon Sep 17 00:00:00 2001 From: "Zhao, Yakui" Date: Mon, 9 Jun 2014 12:08:13 +0800 Subject: Encoding: Fix one type error in intra-prediction shader on BDW Otherwise it will cause the incorrect intra-prediction for encoding on Broadwell. Signed-off-by: Zhao Yakui (cherry picked from commit 20bee4c3cb478702155df1779f24ec483aeab059) --- src/shaders/vme/intra_frame_gen8.asm | 2 +- src/shaders/vme/intra_frame_gen8.g8b | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shaders/vme/intra_frame_gen8.asm b/src/shaders/vme/intra_frame_gen8.asm index 41cdb3a..682d146 100644 --- a/src/shaders/vme/intra_frame_gen8.asm +++ b/src/shaders/vme/intra_frame_gen8.asm @@ -127,7 +127,7 @@ mov (8) vme_msg_1<1>:UD vme_m1.0<8,8,1>:UD {align1}; /* m0 */ /* 16x16 Source, Intra_harr */ add (1) vme_m0.12<1>:UD vme_m0.12<0,1,0>:ud INTRA_SAD_HAAR:UD {align1}; -mov (8) vme_msg_1<1>:UD vme_m1.0<8,8,1>:UD {align1}; +mov (8) vme_msg_0<1>:UD vme_m0.0<8,8,1>:UD {align1}; /* after verification it will be passed by using payload */ send (8) diff --git a/src/shaders/vme/intra_frame_gen8.g8b b/src/shaders/vme/intra_frame_gen8.g8b index 43c904a..56c7283 100644 --- a/src/shaders/vme/intra_frame_gen8.g8b +++ b/src/shaders/vme/intra_frame_gen8.g8b @@ -56,7 +56,7 @@ { 0x00000001, 0x247e2288, 0x00000400, 0x00000000 }, { 0x00600001, 0x28200208, 0x008d0460, 0x00000000 }, { 0x00000040, 0x244c0208, 0x0600044c, 0x00800000 }, - { 0x00600001, 0x28200208, 0x008d0460, 0x00000000 }, + { 0x00600001, 0x28000208, 0x008d0440, 0x00000000 }, { 0x0d600031, 0x21800a08, 0x0e000800, 0x10782000 }, { 0x00600001, 0x28000208, 0x008d0480, 0x00000000 }, { 0x00000001, 0x28200208, 0x00000180, 0x00000000 }, -- cgit v1.2.3