[Libva] [PATCH 2/8] reload block mask for the last(bottom/right) block in a strip

Zhao Halley halley.zhao at intel.com
Sun Aug 12 23:53:12 PDT 2012


---
 .../gen5_6/Common/Multiple_Loop.asm                |    7 ++++++-
 .../post_processing/gen5_6/Common/common.inc       |    6 ++++++
 .../post_processing/gen5_6/nv12_avs_nv12.g4b.gen5  |    9 ++++++---
 .../post_processing/gen5_6/nv12_avs_nv12.g6b       |    9 ++++++---
 .../post_processing/gen5_6/nv12_dn_nv12.g4b.gen5   |    9 ++++++---
 .../post_processing/gen5_6/nv12_dn_nv12.g6b        |    9 ++++++---
 .../post_processing/gen5_6/nv12_dndi_nv12.g4b.gen5 |    9 ++++++---
 .../post_processing/gen5_6/nv12_dndi_nv12.g6b      |    9 ++++++---
 .../gen5_6/nv12_load_save_nv12.g4b.gen5            |    9 ++++++---
 .../post_processing/gen5_6/nv12_load_save_nv12.g6b |    9 ++++++---
 .../gen5_6/nv12_load_save_pa.g4b.gen5              |    9 ++++++---
 .../post_processing/gen5_6/nv12_load_save_pa.g6b   |    9 ++++++---
 .../gen5_6/nv12_load_save_pl3.g4b.gen5             |    9 ++++++---
 .../post_processing/gen5_6/nv12_load_save_pl3.g6b  |    9 ++++++---
 .../gen5_6/nv12_load_save_rgbx.g4b.gen5            |    9 ++++++---
 .../post_processing/gen5_6/nv12_load_save_rgbx.g6b |    9 ++++++---
 .../gen5_6/nv12_scaling_nv12.g4b.gen5              |    9 ++++++---
 .../post_processing/gen5_6/nv12_scaling_nv12.g6b   |    9 ++++++---
 .../gen5_6/pa_load_save_nv12.g4b.gen5              |    9 ++++++---
 .../post_processing/gen5_6/pa_load_save_nv12.g6b   |    9 ++++++---
 .../gen5_6/pa_load_save_pl3.g4b.gen5               |    9 ++++++---
 .../post_processing/gen5_6/pa_load_save_pl3.g6b    |    9 ++++++---
 .../gen5_6/pl3_load_save_nv12.g4b.gen5             |    9 ++++++---
 .../post_processing/gen5_6/pl3_load_save_nv12.g6b  |    9 ++++++---
 .../gen5_6/pl3_load_save_pa.g4b.gen5               |    9 ++++++---
 .../post_processing/gen5_6/pl3_load_save_pa.g6b    |    9 ++++++---
 .../gen5_6/pl3_load_save_pl3.g4b.gen5              |    9 ++++++---
 .../post_processing/gen5_6/pl3_load_save_pl3.g6b   |    9 ++++++---
 .../gen5_6/rgbx_load_save_nv12.g4b.gen5            |    9 ++++++---
 .../post_processing/gen5_6/rgbx_load_save_nv12.g6b |    9 ++++++---
 30 files changed, 180 insertions(+), 85 deletions(-)
 mode change 100644 => 100755 src/shaders/post_processing/gen5_6/Common/Multiple_Loop.asm
 mode change 100644 => 100755 src/shaders/post_processing/gen5_6/Common/PL8x4_Save_IMC3.asm
 mode change 100644 => 100755 src/shaders/post_processing/gen5_6/Common/common.inc

diff --git a/src/shaders/post_processing/gen5_6/Common/Multiple_Loop.asm b/src/shaders/post_processing/gen5_6/Common/Multiple_Loop.asm
old mode 100644
new mode 100755
index 324e134..4a30c20
--- a/src/shaders/post_processing/gen5_6/Common/Multiple_Loop.asm
+++ b/src/shaders/post_processing/gen5_6/Common/Multiple_Loop.asm
@@ -55,6 +55,11 @@ VIDEO_PROCESSING_LOOP:
 
 	(f0.0)jmpi	(1)	END_VIDEO_PROCESSING	// All blocks are done - Exit loop
 
+    // the last block?
+    cmp.e.f0.0  (1) null:w      wNUM_BLKS:w     1:w
+    (f0.0)  mov (1) uwBLOCK_MASK_H<1>:uw  uwBLOCK_MASK_H_RIGHT:uw
+    (f0.0)  mov (1) ubBLOCK_MASK_V<1>:ub  ubBLOCK_MASK_V_BOTTOM:ub
+    
 	(f0.1)jmpi	(1)	VIDEO_PROCESSING_LOOP	// If not the end of row, goto the beginning of the loop
 
 	//If end of row, restart Horizontal offset and calculate Vertical offsets next row.
@@ -81,4 +86,4 @@ END_VIDEO_PROCESSING:
 	nop
 
 #endif
-END_THREAD	// End of Thread
\ No newline at end of file
+END_THREAD	// End of Thread
diff --git a/src/shaders/post_processing/gen5_6/Common/PL8x4_Save_IMC3.asm b/src/shaders/post_processing/gen5_6/Common/PL8x4_Save_IMC3.asm
old mode 100644
new mode 100755
diff --git a/src/shaders/post_processing/gen5_6/Common/common.inc b/src/shaders/post_processing/gen5_6/Common/common.inc
old mode 100644
new mode 100755
index a0a66a0..9c0bdc9
--- a/src/shaders/post_processing/gen5_6/Common/common.inc
+++ b/src/shaders/post_processing/gen5_6/Common/common.inc
@@ -229,6 +229,7 @@
 #define ubALPHA_MASK_Y          r5.22   // DWORD 5, byte 2.  :ub,V. alpha mask
 #define ubBLK_CNT_X             r5.23   // DWORD 5, byte 3,  :ub, Horizontal Block Count per thread
 
+// mask is used for each block. it will be reloaded from r6 below for the last block.
 #define udBLOCK_MASK            r5.6    // DWORD 6
 #define uwBLOCK_MASK_H          r5.12   // DWORD 6, byte 0-1 :uw, Block horizontal mask used in non-DWord aligned kernels
 #define ubBLOCK_MASK_V          r5.26   // DWORD 6, byte 2   :ub, Block vertical mask used in non-DWord aligned kernels
@@ -239,6 +240,11 @@
 // r6
 #define fVIDEO_STEP_DELTA       r6.0    // DWORD 0. :f, AVS normalized delta between 2 adjacent scaling steps (used for non-linear scaling)
 
+// mask is used for the last block (assume only M*1 and 1*N block partation aer supported)
+#define udBLOCK_MASK_2            r6.1    // DWORD 1
+#define uwBLOCK_MASK_H_RIGHT      r6.2    // DWORD 1, byte 0-1 :uw, Block horizontal mask used in non-DWord aligned kernels (right)
+#define ubBLOCK_MASK_V_BOTTOM     r6.6    // DWORD 1, byte 2   :ub, Block vertical mask used in non-DWord aligned kernels
+
 
 //====================== Binding table =========================================
 
diff --git a/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g4b.gen5
index 6685b46..f8fd8bb 100644
--- a/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g4b.gen5
@@ -155,14 +155,17 @@
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
    { 0x00000041, 0x24407fbd, 0x000000bc, 0x41800000 },
    { 0x00000040, 0x20a477bd, 0x00000440, 0x000000a4 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffece },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x00000014 },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffec8 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
    { 0x00000001, 0x20a403bd, 0x00000094, 0x00000000 },
    { 0x00000041, 0x24407fbd, 0x00000038, 0x41000000 },
    { 0x00000040, 0x20a877bd, 0x00000440, 0x000000a8 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffec2 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffebc },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g6b b/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g6b
index 5868243..f59183e 100644
--- a/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_avs_nv12.g6b
@@ -228,14 +228,17 @@
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
    { 0x00000041, 0x24407fbd, 0x000000bc, 0x41800000 },
    { 0x00000040, 0x20a477bd, 0x00000440, 0x000000a4 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffece },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x00000014 },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffec8 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
    { 0x00000001, 0x20a403bd, 0x00000094, 0x00000000 },
    { 0x00000041, 0x24407fbd, 0x00000038, 0x41000000 },
    { 0x00000040, 0x20a877bd, 0x00000440, 0x000000a8 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffec2 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffebc },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g4b.gen5
index 13164b3..d544fb2 100644
--- a/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g4b.gen5
@@ -101,11 +101,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff3a },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff34 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff34 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff2e },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g6b b/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g6b
index 0ba2f55..333ba44 100644
--- a/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_dn_nv12.g6b
@@ -174,11 +174,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff3a },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff34 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff34 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff2e },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g4b.gen5
index 38050f7..aa7f9d2 100644
--- a/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g4b.gen5
@@ -76,11 +76,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff6c },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff66 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff66 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff60 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g6b b/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g6b
index 6b56ac6..17c6acb 100644
--- a/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_dndi_nv12.g6b
@@ -149,11 +149,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff6c },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff66 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff66 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff60 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g4b.gen5
index d511d4f..815b05c 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g4b.gen5
@@ -94,11 +94,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff48 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff42 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff42 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3c },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g6b b/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g6b
index 6e76bd9..98f4326 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_nv12.g6b
@@ -167,11 +167,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff48 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff42 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff42 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3c },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g4b.gen5
index dad88db..cdef60d 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g4b.gen5
@@ -105,11 +105,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff32 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff2c },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff2c },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff26 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g6b b/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g6b
index 5de798e..608217b 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_pa.g6b
@@ -178,11 +178,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff32 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff2c },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff2c },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff26 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g4b.gen5
index 9ca4063..a3f1e04 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g4b.gen5
@@ -93,11 +93,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff4a },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff44 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff44 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3e },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g6b b/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g6b
index 819280d..2201845 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_pl3.g6b
@@ -166,11 +166,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff4a },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff44 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff44 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3e },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g4b.gen5
index da9ca7a..25e1541 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g4b.gen5
@@ -705,11 +705,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffa9e },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffa98 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffa98 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffa92 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g6b b/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g6b
index 657e5bf..a45e1c8 100644
--- a/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.g6b
@@ -778,11 +778,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffa9e },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffa98 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffa98 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffa92 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g4b.gen5
index 476b441..4f13280 100644
--- a/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g4b.gen5
@@ -207,14 +207,17 @@
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
    { 0x00000041, 0x24407fbd, 0x000000bc, 0x41800000 },
    { 0x00000040, 0x20a477bd, 0x00000440, 0x000000a4 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffe66 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x00000014 },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffe60 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
    { 0x00000001, 0x20a403bd, 0x00000094, 0x00000000 },
    { 0x00000041, 0x24407fbd, 0x00000038, 0x41000000 },
    { 0x00000040, 0x20a877bd, 0x00000440, 0x000000a8 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffe5a },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffe54 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g6b b/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g6b
index 4537832..b442f9a 100644
--- a/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/nv12_scaling_nv12.g6b
@@ -280,14 +280,17 @@
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
    { 0x00000041, 0x24407fbd, 0x000000bc, 0x41800000 },
    { 0x00000040, 0x20a477bd, 0x00000440, 0x000000a4 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffe66 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x00000014 },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffe60 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
    { 0x00000001, 0x20a403bd, 0x00000094, 0x00000000 },
    { 0x00000041, 0x24407fbd, 0x00000038, 0x41000000 },
    { 0x00000040, 0x20a877bd, 0x00000440, 0x000000a8 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffe5a },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffe54 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
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 af53ccd..f87e333 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
@@ -108,11 +108,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff2c },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff26 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff26 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff20 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
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 343bd1c..10a8e47 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
@@ -181,11 +181,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff2c },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff26 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff26 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff20 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
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 21ff3d7..d67f398 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
@@ -111,11 +111,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff26 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff20 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff20 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff1a },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
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 55c0fed..af97f71 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
@@ -184,11 +184,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff26 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff20 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff20 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff1a },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g4b.gen5
index cf31c50..3f5720f 100644
--- a/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g4b.gen5
@@ -96,11 +96,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff44 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff3e },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3e },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff38 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g6b b/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g6b
index 437ba56..079709b 100644
--- a/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/pl3_load_save_nv12.g6b
@@ -169,11 +169,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff44 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff3e },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3e },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff38 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g4b.gen5 b/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g4b.gen5
index 5a58923..ad54525 100644
--- a/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g4b.gen5
@@ -107,11 +107,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff2e },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff28 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff28 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff22 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g6b b/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g6b
index be37861..04184d9 100644
--- a/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g6b
+++ b/src/shaders/post_processing/gen5_6/pl3_load_save_pa.g6b
@@ -180,11 +180,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff2e },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff28 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff28 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff22 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g4b.gen5 b/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g4b.gen5
index 26fa256..a7be707 100644
--- a/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g4b.gen5
@@ -95,11 +95,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff46 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff40 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff40 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3a },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g6b b/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g6b
index c9ee1a1..5b1304a 100644
--- a/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g6b
+++ b/src/shaders/post_processing/gen5_6/pl3_load_save_pl3.g6b
@@ -168,11 +168,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff46 },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xffffff40 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff40 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xffffff3a },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
diff --git a/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g4b.gen5
index 2a42c37..b9a24c3 100644
--- a/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g4b.gen5
@@ -554,11 +554,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffbbe },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffbb8 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffbb8 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffbb2 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x0f000031, 0x20000c04, 0x708d0000, 0x82000000 },
diff --git a/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g6b b/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g6b
index 8b7b25b..7b64c58 100644
--- a/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/rgbx_load_save_nv12.g6b
@@ -627,11 +627,14 @@
    { 0x01000040, 0x20863dad, 0x00000086, 0xffffffff },
    { 0x00000040, 0x20a03dad, 0x000000a0, 0x00100010 },
    { 0x05000010, 0x200035ac, 0x020000a0, 0x00000084 },
-   { 0x00010220, 0x34001c00, 0x00001400, 0x00000008 },
-   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffbbe },
+   { 0x00010220, 0x34001c00, 0x00001400, 0x0000000e },
+   { 0x01000010, 0x20003dac, 0x00000086, 0x00010001 },
+   { 0x00010001, 0x20b80129, 0x000000c4, 0x00000000 },
+   { 0x00010001, 0x20ba0231, 0x000000c6, 0x00000000 },
+   { 0x00010220, 0x34001c00, 0x02001400, 0xfffffbb8 },
    { 0x00000001, 0x20a001ad, 0x0000008a, 0x00000000 },
    { 0x00000040, 0x20a23dad, 0x000000a2, 0x00080008 },
-   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffbb8 },
+   { 0x00000220, 0x34001c00, 0x00001400, 0xfffffbb2 },
    { 0x0000007e, 0x00000000, 0x00000000, 0x00000000 },
    { 0x00600001, 0x21e00022, 0x008d0000, 0x00000000 },
    { 0x07000031, 0x20001cc4, 0x000001e0, 0x82000010 },
-- 
1.7.9.5



More information about the Libva mailing list