diff options
author | Christoph Bumiller <[email protected]> | 2010-08-16 15:21:23 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-08-17 00:47:46 +0200 |
commit | e7a0bfa69a6ce45bb53baa8220eae418225c5649 (patch) | |
tree | 599ff01869b30151d57cee914549eff988798918 /src/gallium/drivers/nv50/nv50_pc.h | |
parent | 4de293bb9acd1ecda683f735af32f7485a0f213e (diff) |
nv50: flatten simple IF/ELSE/ENDIF constructs
Less branching means less instructions and less thread divergence.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_pc.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_pc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_pc.h b/src/gallium/drivers/nv50/nv50_pc.h index b24a3067b8d..28208ad247b 100644 --- a/src/gallium/drivers/nv50/nv50_pc.h +++ b/src/gallium/drivers/nv50/nv50_pc.h @@ -432,6 +432,7 @@ void nv_print_program(struct nv_basic_block *b); boolean nv_op_commutative(uint opcode); int nv50_indirect_opnd(struct nv_instruction *); boolean nv50_nvi_can_use_imm(struct nv_instruction *, int s); +boolean nv50_nvi_can_predicate(struct nv_instruction *); boolean nv50_nvi_can_load(struct nv_instruction *, int s, struct nv_value *); ubyte nv50_supported_src_mods(uint opcode, int s); int nv_nvi_refcount(struct nv_instruction *); |