diff options
author | Kenneth Graunke <[email protected]> | 2013-01-06 23:35:22 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-01-07 16:48:02 -0800 |
commit | 30f8f58c2035dc7a14cf44d0d9af87dfb9256e96 (patch) | |
tree | 9aa35d8f7bdd48ae9dbf1644870b7f498f6cacac | |
parent | 23595aa427073d876b828646e973be5b28cb5676 (diff) |
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 <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 2 |
1 files changed, 0 insertions, 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; |