i965/vec4/nir: support doubles in ALU operations
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 25 May 2016 07:27:49 +0000 (09:27 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:50 +0000 (11:26 +0100)
commitfef06f635610ddc730a213576e59afb638c6051d
tree89dcfe21371aa80709d41a994b6401ae0eeacdb8
parent0f096b1e5a5e31a5efba7279326ec8bc8478bb56
i965/vec4/nir: support doubles in ALU operations

Basically, this involves considering the bit-size information to set
the appropriate type on both operands and destination.

v2 (Curro)
  - Don't use two temporaries (and write one of them twice ) to obtain
    the nir_alu_type.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp