tgsi: Fix typo in ureg constant creation.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 18 Aug 2009 14:25:33 +0000 (15:25 +0100)
committerKeith Whitwell <keithw@vmware.com>
Wed, 19 Aug 2009 11:03:10 +0000 (12:03 +0100)
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)

src/gallium/auxiliary/tgsi/tgsi_ureg.c

index bbe06bfd7c671e80b6a27576a8d01d7d1df99b1a..c2bfcbbcb9337ea603b3f670c34b69f4a5dbcc40 100644 (file)
@@ -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++ );
 }