Update the binding table index on IVB
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 5 Feb 2013 08:39:37 +0000 (16:39 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 5 Feb 2013 08:46:59 +0000 (16:46 +0800)
The index used by the shader is 33 instead of 5.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59693
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.c

index 4ace7c4..5536367 100755 (executable)
@@ -3812,7 +3812,7 @@ gen7_pp_nv12_dn_initialize(VADriverContextP ctx, struct i965_post_processing_con
     gen7_pp_set_surface_state(ctx, pp_context,
                               pp_context->stmm.bo, 0,
                               orig_w, orig_h, w, I965_SURFACEFORMAT_R8_UNORM,
-                              5, 1);
+                              33, 1);
 
     /* destination surface */
     obj_surface = SURFACE(dst_surface->id);