i965: Move VS load_input handling to nir_emit_vs_intrinsic().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Jul 2016 02:00:19 +0000 (19:00 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Jul 2016 18:01:26 +0000 (11:01 -0700)
commit3dba8516d6468866f2534f517358a6243eb0995e
tree1d0b2c163ba1b2616b1ee2bb45138db483bd8d6a
parent160820995210e0b85fd25821f5ae785d6a539e08
i965: Move VS load_input handling to nir_emit_vs_intrinsic().

TCS/TES/GS and now FS all handle these in stage-specific functions.
CS don't have inputs, so VS was the only one left using this code.

Move it to the VS-specific function for clarity.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_fs_nir.cpp