diff options
author | Eric Anholt <eric@anholt.net> | 2010-10-14 11:11:29 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-10-14 12:02:54 -0700 |
commit | d5599c0b6a22cd0bbc475ec715824660144d02a0 (patch) | |
tree | 77b590e5c11be5ad614e3de85d6b2669162bdd6d /src/mesa/drivers/dri/i965/brw_fs.h | |
parent | 1d33e940d2050f3d9180019f6ffd57f6fc295507 (diff) |
i965: Add a function for handling the move of boolean values to flag regs.
This will be a place to peephole comparisions directly to the flag
regs, and for now avoids using MOV with conditional mod on gen6, which
is now illegal.
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 d0e84da1aa..e0dfa6aed1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.h +++ b/src/mesa/drivers/dri/i965/brw_fs.h @@ -388,6 +388,7 @@ public: fs_inst *emit_texture_gen5(ir_texture *ir, fs_reg dst, fs_reg coordinate); 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_fb_writes(); void emit_assignment_writes(fs_reg &l, fs_reg &r, |