st/glsl_to_tgsi: fix DFRACEXP with only one destination
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 6 Oct 2017 18:27:40 +0000 (20:27 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 11 Oct 2017 21:17:06 +0000 (23:17 +0200)
commit3b666aa747955526f9200674a3f52539a07df5f6
tree2e8f4a45bfdf78dc3380044121079efd3e977192
parent541208cf138deb59204b28c56b3d37fec399778b
st/glsl_to_tgsi: fix DFRACEXP with only one destination

Replace the undefined destination by a new temporary register.

Cleanup merge_two_dsts while we're at it.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp