diff options
author | José Fonseca <[email protected]> | 2009-08-18 15:25:33 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-08-19 12:03:10 +0100 |
commit | b2f3f7dd12eeab31c7edbc7c5ff52230bc8c4296 (patch) | |
tree | 1cada9869c38b5c5ea10cf0670e9a9af16e66dd7 /src/gallium/auxiliary/tgsi | |
parent | dd5ac3cafc024a02900786c1b9e28c319250f3e3 (diff) |
tgsi: Fix typo in ureg constant creation.
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
Diffstat (limited to 'src/gallium/auxiliary/tgsi')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index bbe06bfd7c6..c2bfcbbcb93 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -302,7 +302,7 @@ out: */ struct ureg_src ureg_DECL_constant(struct ureg_program *ureg ) { - return ureg_src_register( TGSI_FILE_TEMPORARY, ureg->nr_constants++ ); + return ureg_src_register( TGSI_FILE_CONSTANT, ureg->nr_constants++ ); } |