tgsi: Fix typo in ureg constant creation.
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
This commit is contained in:
committed by
Keith Whitwell
parent
dd5ac3cafc
commit
b2f3f7dd12
@@ -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++ );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user