From 30f8f58c2035dc7a14cf44d0d9af87dfb9256e96 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 6 Jan 2013 23:35:22 -0800 Subject: [PATCH] i965/fs: Remove dead code from generate_uniform_pull_constant_load_gen7. generate_uniform_pull_constant_load_gen7() is only called on Gen7+, so the gen < 6 code is dead. Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp index 63f09fe7941..305993401ea 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp @@ -687,8 +687,6 @@ fs_generator::generate_uniform_pull_constant_load_gen7(fs_inst *inst, brw_set_dest(p, send, dst); brw_set_src0(p, send, offset); - if (intel->gen < 6) - send->header.destreg__conditionalmod = inst->base_mrf; uint32_t msg_control = BRW_DATAPORT_OWORD_BLOCK_2_OWORDS; uint32_t msg_type = BRW_DATAPORT_READ_MESSAGE_OWORD_BLOCK_READ; -- 2.30.2