Revert "st_glsl_to_tgsi: rewrite rename registers to use array fully."
authorDave Airlie <airlied@redhat.com>
Mon, 31 Jul 2017 07:37:10 +0000 (08:37 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Aug 2017 02:43:29 +0000 (03:43 +0100)
commitb8bea9a0506cc312f4b32762d73598a8a220cf08
tree03256646723ebd757ad5770d90858cc6d3a064a2
parentdf61a05019d5c7479d4b29d251af4231f125e61c
Revert "st_glsl_to_tgsi: rewrite rename registers to use array fully."

This reverts commit 3008161d28e38336ba39aba4769a2deaf9732f55,
which caused a regression for VMWare.

The initial code had some recursion in it, that I removed by accident
trying to add back the recursion broke lots of things, take the high
road and revert for now.

Fixes: 3008161d (st_glsl_to_tgsi: rewrite rename registers to use array fully.)
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp