diff options
author | Matt Turner <[email protected]> | 2015-01-07 12:01:43 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-02-04 12:14:35 -0800 |
commit | 2335153ff2fae01d6294876a86d3eab59c6c4236 (patch) | |
tree | 6cae936e66ee14b53b524ecf208e09c3bf841155 /src | |
parent | 6b3a301f611c9aabc090522951eda589e8302562 (diff) |
i965: Remove now unnecessary Gen8 CMP destination type override.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_emit.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index 57161e282dc..308b305458e 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c @@ -1849,14 +1849,6 @@ void brw_CMP(struct brw_compile *p, struct brw_context *brw = p->brw; brw_inst *insn = next_insn(p, BRW_OPCODE_CMP); - if (brw->gen >= 8) { - /* The CMP instruction appears to behave erratically for floating point - * sources unless the destination type is also float. Overriding it to - * match src0 makes it work in all cases. - */ - dest.type = src0.type; - } - brw_inst_set_cond_modifier(brw, insn, conditional); brw_set_dest(p, insn, dest); brw_set_src0(p, insn, src0); |