i965/fs: Remove dead code from generate_uniform_pull_constant_load_gen7.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Jan 2013 07:35:22 +0000 (23:35 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 8 Jan 2013 00:48:02 +0000 (16:48 -0800)
generate_uniform_pull_constant_load_gen7() is only called on Gen7+, so
the gen < 6 code is dead.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs_emit.cpp

index 63f09fe79415de5c0e21db1ea9908a1faedf46a8..305993401ea4df4a3cafc48b56c13389b2200824 100644 (file)
@@ -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;