summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2014-04-19 00:12:42 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-06-06 12:26:43 +0800
commit7465b1699cbde5fc6227167d6c28995d947f14f2 (patch)
treeb6f5cc3c1a838cfb1b309cde045f147c293b9d9a /src/i965_render.c
parent60ea472b116a2e245fa8579355c47eb501bfa20a (diff)
downloadlibva-intel-driver-7465b1699cbde5fc6227167d6c28995d947f14f2.tar.gz
Remove unnecessary check with IS_GEN8()
It is always true or false Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> (cherry picked from commit 42258e128f19b93aa102672d5f61eb73d9f9808f)
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index 9d0e8465..38f70ebb 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -1540,8 +1540,7 @@ i965_clear_dest_region(VADriverContextP ctx)
br13 |= pitch;
if (IS_GEN6(i965->intel.device_info) ||
- IS_GEN7(i965->intel.device_info) ||
- IS_GEN8(i965->intel.device_info)) {
+ IS_GEN7(i965->intel.device_info)) {
intel_batchbuffer_start_atomic_blt(batch, 24);
BEGIN_BLT_BATCH(batch, 6);
} else {