i965/nir/vec4: Implement load_input intrinsic
authorEduardo Lima Mitev <elima@igalia.com>
Tue, 16 Jun 2015 19:24:21 +0000 (21:24 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:47 +0000 (09:40 -0700)
commit167cb9663adc8c7c61807e503f66e85f955e7d5f
tree2c7a496d1d9eb5bf4725f9eaed098f04e03b22be
parentafe085a0ca01f659c69456018e5f5076c9dde47d
i965/nir/vec4: Implement load_input intrinsic

The source register is fetched from the nir_inputs map built during
nir_setup_inputs stage.

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