mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
nvc0: fix unitialized variable in TGSI sysval decl processing
This commit is contained in:
parent
f10b2021c1
commit
d7a23cfb88
1 changed files with 1 additions and 0 deletions
|
|
@ -298,6 +298,7 @@ prog_decl(struct nvc0_translation_info *ti,
|
|||
}
|
||||
break;
|
||||
case TGSI_FILE_SYSTEM_VALUE:
|
||||
i = first;
|
||||
ti->sysval_loc[i] = nvc0_system_value_location(sn, si, &ti->sysval_in[i]);
|
||||
assert(first == last);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue