i965/nir/vec4: Implement multiplication
authorAntia Puentes <apuentes@igalia.com>
Tue, 16 Jun 2015 21:50:46 +0000 (23:50 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:48 +0000 (09:40 -0700)
commit9acebf146184c35e6897b91fff414c5295d47996
tree4d458f6e1ca031fd003099270ccb93b05b9994d0
parent0675842b56a956befbac4a3b912823e73a95a500
i965/nir/vec4: Implement multiplication

Implementation based on the vec4_visitor IR implementation
for the operations ir_binop_mul and ir_binop_imul_high.

Adds NIR ALU operations:
   * nir_op_fmul
   * nir_op_imul
   * nir_op_imul_high
   * nir_op_umul_high

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp