[Mesa-dev] [PATCH 12/14] i965/fs: Add support for bit instructions.

2013-05-02 Thread Matt Turner
Don't bother scalarizing ir_binop_bfm, since its results are identical for all channels. v2: Subtract result of FBH from 31 (unless an error) to convert MSB counts to LSB counts. v3: Use op0->clone() in ir_triop_bfi to prevent (var_ref channel_expressions) from appearing multiple times in

[Mesa-dev] [PATCH 12/14] i965/fs: Add support for bit instructions.

2013-04-28 Thread Matt Turner
Don't bother scalarizing ir_binop_bfm, since its results are identical for all channels. v2: Subtract result of FBH from 31 (unless an error) to convert MSB counts to LSB counts. --- src/mesa/drivers/dri/i965/brw_fs.cpp | 7 src/mesa/drivers/dri/i965/brw_fs.h