diff options
author | Eric Anholt <eric@anholt.net> | 2010-10-19 12:32:55 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-10-19 21:17:55 -0700 |
commit | ae5698e60467db2a7e3f730788cdcdd3711da101 (patch) | |
tree | f4d9b858f6e1cfdb144bc640a1d22faad141183a /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 6ea108e7db79cb7135a8a1ef216e25381f72c225 (diff) |
i965: Use the new style of IF statement with embedded comparison on gen6.
"Everyone else" does it this way, so follow suit. It's fewer
instructions, anyway.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index b7f4e15c76..b8126083f9 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -390,6 +390,7 @@ public: fs_inst *emit_math(fs_opcodes op, fs_reg dst, fs_reg src0); fs_inst *emit_math(fs_opcodes op, fs_reg dst, fs_reg src0, fs_reg src1); void emit_bool_to_cond_code(ir_rvalue *condition); + void emit_if_gen6(ir_if *ir); void emit_fb_writes(); void emit_assignment_writes(fs_reg &l, fs_reg &r, |