Fix the scaling issue on IVB/HSW/BDW
authorXiang, Haihao <haihao.xiang@intel.com>
Mon, 26 May 2014 02:14:52 +0000 (10:14 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 6 Jun 2014 04:49:01 +0000 (12:49 +0800)
commitaa1b177ace6b32db76e541c35c951433c909529e
tree2bd1d894acda285ebee7160b682af86f74eaca13
parent05dbef137a9b79a491bccc7441fe3b79af1f9e10
Fix the scaling issue on IVB/HSW/BDW

Scaling is done on each 16x16 block. The shader for scaling
might write pixels out-of-rectangle if the rectangle width/height
isn't aligned to 16.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit d560387cc819a31791c2a30026473c9bd8786f07)
src/gen8_post_processing.c
src/i965_post_processing.c