search for: tgsi_cc_ge

Displaying 1 result from an estimated 1 matches for "tgsi_cc_ge".

Did you mean: tgsi_cc_gt
2009 Jun 21
0
[PATCH] nv50: support for SLE, SNE, SEQ, SGT
...< 24); set_src_0(pc, src, e); @@ -846,55 +850,94 @@ emit_cvt(struct nv50_pc *pc, struct nv50_reg *dst, struct nv50_reg *src, emit(pc, e); } +static inline unsigned +map_opcode_ccode(unsigned op) +{ + switch (op) { + case TGSI_OPCODE_SLT: return TGSI_CC_LT; + case TGSI_OPCODE_SGE: return TGSI_CC_GE; + case TGSI_OPCODE_SEQ: return TGSI_CC_EQ; + case TGSI_OPCODE_SGT: return TGSI_CC_GT; + case TGSI_OPCODE_SLE: return TGSI_CC_LE; + case TGSI_OPCODE_SNE: return TGSI_CC_NE; + default: + assert(0); + return 0; + } +} + +static inline unsigned +map_ccode_nv50(unsigned cc) +{ + assert(cc < 16); +...