nvc0: fix unitialized variable in TGSI sysval decl processing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user