nir: Combine the int and double [un]pack opcodes
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 15 Feb 2017 06:15:16 +0000 (22:15 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 17 Feb 2017 01:28:03 +0000 (17:28 -0800)
commit161d3e81bef19ddd7870ee88d50479439f28e82b
tree96bc2d094b6917d335ece4705283a28cf8753ea1
parenta4393bd97fe62e8299273bae769201c5c9c816ea
nir: Combine the int and double [un]pack opcodes

NIR is a typeless IR and the two opcodes, when considered bitwise, do
exactly the same thing.  There's no reason to have two versions.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/glsl_to_nir.cpp
src/compiler/nir/nir_lower_alu_to_scalar.c
src/compiler/nir/nir_lower_double_ops.c
src/compiler/nir/nir_lower_double_packing.c
src/compiler/nir/nir_opcodes.py
src/compiler/nir/nir_opt_algebraic.py
src/compiler/spirv/vtn_glsl450.c
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp