From 6f2ea35f5caaf39e81617e7087f20f4885b51985 Mon Sep 17 00:00:00 2001 From: Lim Siew Hoon Date: Wed, 9 Sep 2015 10:10:58 +0800 Subject: Fix if issue of SLICE_TYPE_I statement in vme_pipeline_programing Signed-off-by: Lim Siew Hoon Reviewed-by: Zhao, Yakui --- src/gen8_vme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gen8_vme.c') diff --git a/src/gen8_vme.c b/src/gen8_vme.c index 5dd502c8..edf6060c 100644 --- a/src/gen8_vme.c +++ b/src/gen8_vme.c @@ -666,7 +666,7 @@ static void gen8_vme_pipeline_programing(VADriverContextP ctx, } if ((pSliceParameter->slice_type == SLICE_TYPE_I) || - (pSliceParameter->slice_type == SLICE_TYPE_I)) { + (pSliceParameter->slice_type == SLICE_TYPE_SI)) { kernel_shader = VME_INTRA_SHADER; } else if ((pSliceParameter->slice_type == SLICE_TYPE_P) || (pSliceParameter->slice_type == SLICE_TYPE_SP)) { -- cgit v1.2.1