st/glsl_to_tgsi: inline src_register into translate_src
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 23 Aug 2017 16:07:58 +0000 (18:07 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 4 Sep 2017 11:43:52 +0000 (13:43 +0200)
commitd14f7f721096307982c1653018117ef4e87b36ff
tree38d4dff387c1ba5a004a9d81491d2964c03a5fd6
parent42b444ca1836633cc0791b7d65577e0bbfddcc6a
st/glsl_to_tgsi: inline src_register into translate_src

src_register has no meaningful standalone use, it only makes sense when
called from translate_src.

v2: fix input array handling

Acked-by: Roland Scheidegger <sroland@vmware.com> (v1)
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp