set return type attribute properly
The bug was leading to some redundant codes being generated due to the last "var" attribute being falsely set.
mesa: mesa/mesa!15537 (merged)
virgl: virglrenderer!767 (merged)
/cc @olv @ryanneph @chadversary @igor.torrente
Edited by Yiwei Zhang