tgsi: Fix typo in ureg constant creation.

(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
This commit is contained in:
José Fonseca 2009-08-18 15:25:33 +01:00 committed by Keith Whitwell
parent dd5ac3cafc
commit b2f3f7dd12

View 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++ );
}