st/glsl_to_tgsi: sort input and output decls by TGSI index
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 18 Oct 2016 15:35:45 +0000 (17:35 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 20 Oct 2016 08:37:06 +0000 (10:37 +0200)
commit3d9b57e49304f9690c4a2b50afb8cdd4d253a1df
treebc96b9fa5f197a2872f7196c7695dd7fe753b6de
parenta1895685f8f341e7facf3c5705bdee99860e3082
st/glsl_to_tgsi: sort input and output decls by TGSI index

Fixes a regression introduced by commit 777dcf81b.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98307
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: 13.0 <mesa-stable@lists.freedesktop.org>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp