prog_to_nir: Use nir_op_dph
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 22 Sep 2015 23:57:03 +0000 (16:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 23 Sep 2015 03:37:35 +0000 (20:37 -0700)
commite7496fed2a2428b704b8aeab5f42df8e6a2f7ae1
tree224af79ec6d13729e7cbdd03a1a4ed6f4c38425d
parent999ff3c77d5d978224ee01ca19121e15698c2c6a
prog_to_nir: Use nir_op_dph

Shader-db results on HSW:

   instructions in affected programs:     72 -> 56 (-22.22%)

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/prog_to_nir.c