From: Michal Krol Date: Thu, 26 Nov 2009 18:21:55 +0000 (+0100) Subject: tgsi/ureg: Add forgotten goto in ureg_DECL_constant(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75df599e30bda03b40c0442eff3e39ec84397ede;p=mesa.git tgsi/ureg: Add forgotten goto in ureg_DECL_constant(). --- diff --git a/src/gallium/auxiliary/tgsi/tgsi_ureg.c b/src/gallium/auxiliary/tgsi/tgsi_ureg.c index 5526a5d034b..bd963267cc3 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_ureg.c +++ b/src/gallium/auxiliary/tgsi/tgsi_ureg.c @@ -352,6 +352,7 @@ struct ureg_src ureg_DECL_constant(struct ureg_program *ureg, i = ureg->nr_constant_ranges++; ureg->constant_range[i].first = index; ureg->constant_range[i].last = index; + goto out; } /* Collapse all ranges down to one: