st/mesa: update inst->info along with inst->op
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 22 May 2016 20:50:27 +0000 (16:50 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Mon, 23 May 2016 23:58:53 +0000 (19:58 -0400)
commit1e99a46b446522dbb12634139c2f2060d5dabf94
tree1540f12b0a54b09e9665cedac059398f1ee4e941
parent533d1e90853448c874a3aa85f91bceded47ed052
st/mesa: update inst->info along with inst->op

Otherwise we still have TGSI_OPCODE_CMP's info, which causes a number of
later logic to go wrong. This fixes

dEQP-GLES2.functional.shaders.functions.control_flow.return_in_if_vertex

on nv30.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp