summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao halley <halley.zhao@intel.com>2012-05-31 17:00:26 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2012-06-25 08:59:50 +0800
commitc742930f52e92707f135ee023d923490116e2c17 (patch)
tree4ea941ca69651f42da04d437b356e427b397c046
parent2726f439530ae1e15bf0a002f4973427166355cc (diff)
downloadvaapi-intel-driver-c742930f52e92707f135ee023d923490116e2c17.tar.gz
vaapi-intel-driver-c742930f52e92707f135ee023d923490116e2c17.tar.bz2
vaapi-intel-driver-c742930f52e92707f135ee023d923490116e2c17.zip
fix a mistake in PA_Load_8x8.asm
-rwxr-xr-x[-rw-r--r--]src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm2
-rw-r--r--src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen52
-rw-r--r--src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b2
-rwxr-xr-xsrc/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen52
-rwxr-xr-xsrc/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm b/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm
index 3569bd1..789034f 100644..100755
--- a/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm
+++ b/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm
@@ -17,7 +17,7 @@
// Load 16x8 packed data block
// Packed data block should be loaded as 32x8 pixel block
add (2) rMSGSRC.0<1>:d wORIX<2;2,1>:w wSRC_H_ORI_OFFSET<2;2,1>:w // Source Block origin
- shl (1) rMSGSRC.0<1>:d acc0:w 1:w // H. block origin need to be doubled
+ shl (1) rMSGSRC.0<1>:d rMSGSRC.0<0;1,0>:w 1:w // H. block origin need to be doubled
mov (1) rMSGSRC.2<1>:ud nDPR_BLOCK_SIZE_YUV:ud // Block width and height (32x8)
mov (8) mMSGHDRY<1>:ud rMSGSRC<8;8,1>:ud
send (8) udSRC_YUV(0)<1> mMSGHDRY udDUMMY_NULL nDATAPORT_READ nDPMR_MSGDSC+nDPR_MSG_SIZE_YUV+nBI_CURRENT_SRC_YUV:ud
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5
index cc5d38d..a3bdb33 100644
--- a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5
@@ -5,7 +5,7 @@
{ 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
{ 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
{ 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
- { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+ { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
{ 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
{ 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
{ 0x01600031, 0x27000c01, 0x408d0000, 0x0288a001 },
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b
index cf9de3b..58638ec 100644
--- a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b
@@ -78,7 +78,7 @@
{ 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
{ 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
{ 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
- { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+ { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
{ 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
{ 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
{ 0x04600031, 0x27000cc1, 0x00000020, 0x02898001 },
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5 b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5
index 6269fa6..2a559a8 100755
--- a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5
@@ -5,7 +5,7 @@
{ 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
{ 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
{ 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
- { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+ { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
{ 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
{ 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
{ 0x01600031, 0x27000c01, 0x408d0000, 0x0288a001 },
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b
index 975ff29..9913d61 100755
--- a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b
@@ -78,7 +78,7 @@
{ 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
{ 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
{ 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
- { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+ { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
{ 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
{ 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
{ 0x04600031, 0x27000cc1, 0x00000020, 0x02898001 },