summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2009-08-13 17:22:16 +0100
committerKeith Whitwell <[email protected]>2009-08-13 17:32:25 +0100
commitf2fcd5822a0b308e8b9410061996377c0b4a0a91 (patch)
treec8e9012f36e56c8d1def17fe350a34b51071e4ac /src/gallium/auxiliary/tgsi/tgsi_ureg.h
parentb56d2ba7b2e685e8c551788577b382480e77025a (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.h4
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 * );