diff options
author | Keith Whitwell <[email protected]> | 2009-08-13 17:22:16 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-08-13 17:32:25 +0100 |
commit | f2fcd5822a0b308e8b9410061996377c0b4a0a91 (patch) | |
tree | c8e9012f36e56c8d1def17fe350a34b51071e4ac /src/gallium/auxiliary/tgsi/tgsi_ureg.h | |
parent | b56d2ba7b2e685e8c551788577b382480e77025a (diff) |
tgsi: add simple facility for releasing and reusing temporaries
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.h')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.h b/src/gallium/auxiliary/tgsi/tgsi_ureg.h index ad7cd8e69c0..0a976fd63b7 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.h +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.h @@ -122,6 +122,10 @@ ureg_DECL_constant( struct ureg_program * ); struct ureg_dst ureg_DECL_temporary( struct ureg_program * ); +void +ureg_release_temporary( struct ureg_program *ureg, + struct ureg_dst tmp ); + struct ureg_src ureg_DECL_sampler( struct ureg_program * ); |