tgsi: fix tgsi transform's epilog callback
authorBrian Paul <brianp@vmware.com>
Fri, 19 Sep 2014 19:11:58 +0000 (13:11 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Sep 2014 22:56:23 +0000 (16:56 -0600)
commit9e0160fc588c8f15516c75021c339e5ec9d7255d
tree9777d2bc43d7b9786cb012be0088da3ede6322b5
parentb16bb3f50f0d71f7e720c4feefcb86e15090d52f
tgsi: fix tgsi transform's epilog callback

We want to call the caller's epilog callback when we find the TGSI
END instruction, not after it.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_transform.c