mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
tgsi: Fix typo in ureg constant creation.
(cherry picked from commit aa40c9abc7787fdf46cb661a4d0bb8bec513fc63)
This commit is contained in:
parent
dd5ac3cafc
commit
b2f3f7dd12
1 changed files with 1 additions and 1 deletions
|
|
@ -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++ );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue