summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c2
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++ );
}