spirv: update arguments for vtn_nir_alu_op_for_spirv_opcode()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Wed, 14 Mar 2018 07:49:43 +0000 (08:49 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Thu, 15 Mar 2018 07:56:15 +0000 (08:56 +0100)
commitadf58e59d3d2639ee214087f94bf7a079f8cd9a8
tree4b9767482d532eb09ec7c694547d1fb45d39a530
parentce2fd8705693d70a2422c5dd292fffea7fdce5ba
spirv: update arguments for vtn_nir_alu_op_for_spirv_opcode()

We don't need anymore the source and destination's data type, just
their bitsize.

v2:
- Use glsl_get_bit_size () instead (Jason).

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_alu.c
src/compiler/spirv/vtn_private.h