tgsi: add prolog() method to tgsi_transform_context
authorBrian Paul <brianp@vmware.com>
Fri, 14 Mar 2014 20:49:33 +0000 (14:49 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 22 Sep 2014 22:56:23 +0000 (16:56 -0600)
commitb16bb3f50f0d71f7e720c4feefcb86e15090d52f
treefc8288e79f28b9a348961e953b55622e6e6042ee
parent2826212dc79b90fcb008b72e5c1fdc34e8a1ac71
tgsi: add prolog() method to tgsi_transform_context

Called when the user can insert new decls, instructions.
This could be used in a few places in the 'draw' module.

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