i965/nir/vec4: Mark as unreachable ops that should be already lowered
authorAntia Puentes <apuentes@igalia.com>
Wed, 17 Jun 2015 08:10:44 +0000 (10:10 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:50 +0000 (09:40 -0700)
commit9b4a6fa4c09d36e0e5c00309e6ea37300ea38f78
tree8c9c491e46f1aedf0b2240c3db2ae39531d1ec68
parent16072834babc487f78472f7e7b59d35249a3aac8
i965/nir/vec4: Mark as unreachable ops that should be already lowered

NIR ALU operations:
   * nir_op_fabs
   * nir_op_iabs
   * nir_op_fneg
   * nir_op_ineg
   * nir_op_fsat
        should be lowered by lower_source mods

   * nir_op_fdiv
        should be lowered in the compiler by DIV_TO_MUL_RCP.

   * nir_op_fmod
        should be lowered in the compiler by MOD_TO_FLOOR.

   * nir_op_fsub
   * nir_op_isub
        should be handled by ir_sub_to_add_neg.

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