i965/nir/vec4: Add shader function implementation
authorEduardo Lima Mitev <elima@igalia.com>
Wed, 22 Jul 2015 07:34:35 +0000 (09:34 +0200)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 3 Aug 2015 16:40:47 +0000 (09:40 -0700)
commit59006d3ad3ed5d29e84afa5931f425344e2ef658
treea69ca1990713f6252b2ed4d78c08ed0051f4fe4b
parent4023b55fdd7005a8a100637c229a1c40648cdd2b
i965/nir/vec4: Add shader function implementation

It basically allocates registers local to a function in a nir_locals map,
then emits all its control-flow blocks.

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