i965/vec4: use vec4_builder to emit instructions in setup_imm_df()
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 7 Mar 2017 09:29:53 +0000 (10:29 +0100)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 14 Apr 2017 21:56:09 +0000 (14:56 -0700)
commitf030aaf2fb558219a43f286e2ea71c928e49b598
treeae4b169f313984f9646f14d0c6080514c44d4dd7
parenta907c91e93cce88ee1929263c455fab541b8c4a3
i965/vec4: use vec4_builder to emit instructions in setup_imm_df()

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
[ Francisco Jerez: Drop useless vec4_visitor dependencies.  Demote to
  static stand-alone function.  Don't write unused components in the
  result.  Use vec4_builder interface for register allocation. ]
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/compiler/brw_vec4.h
src/intel/compiler/brw_vec4_nir.cpp