diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-18 15:25:33 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-08-19 12:03:10 +0100 |
commit | b2f3f7dd12eeab31c7edbc7c5ff52230bc8c4296 (patch) | |
tree | 1cada9869c38b5c5ea10cf0670e9a9af16e66dd7 | |
parent | dd5ac3cafc024a02900786c1b9e28c319250f3e3 (diff) | |
download | external_mesa3d-b2f3f7dd12eeab31c7edbc7c5ff52230bc8c4296.zip external_mesa3d-b2f3f7dd12eeab31c7edbc7c5ff52230bc8c4296.tar.gz external_mesa3d-b2f3f7dd12eeab31c7edbc7c5ff52230bc8c4296.tar.bz2 |
tgsi: Fix typo in ureg constant creation.
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
-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 bbe06bf..c2bfcbb 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++ ); } |