i965/fs: Add SEL() convenience function.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
This commit is contained in:
Matt Turner 2013-10-22 19:04:14 -07:00
parent 4b0ef4bf38
commit fa227e7cbc
2 changed files with 2 additions and 0 deletions

View file

@ -184,6 +184,7 @@ ALU1(CBIT)
ALU3(MAD)
ALU2(ADDC)
ALU2(SUBB)
ALU2(SEL)
/** Gen4 predicated IF. */
fs_inst *

View file

@ -274,6 +274,7 @@ public:
fs_inst *MAD(fs_reg dst, fs_reg c, fs_reg b, fs_reg a);
fs_inst *ADDC(fs_reg dst, fs_reg src0, fs_reg src1);
fs_inst *SUBB(fs_reg dst, fs_reg src0, fs_reg src1);
fs_inst *SEL(fs_reg dst, fs_reg src0, fs_reg src1);
int type_size(const struct glsl_type *type);
fs_inst *get_instruction_generating_reg(fs_inst *start,