nvc0: fix unitialized variable in TGSI sysval decl processing

This commit is contained in:
Christoph Bumiller 2011-03-05 22:28:46 +01:00
parent f10b2021c1
commit d7a23cfb88

View file

@ -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;