tgsi/ureg: Add forgotten goto in ureg_DECL_constant().
authorMichal Krol <michal@vmware.com>
Thu, 26 Nov 2009 18:21:55 +0000 (19:21 +0100)
committerMichal Krol <michal@vmware.com>
Thu, 26 Nov 2009 19:41:38 +0000 (20:41 +0100)
src/gallium/auxiliary/tgsi/tgsi_ureg.c

index 5526a5d034b08086c48b565230195ef483dfadc8..bd963267cc397ef8d50815c3e86308e832a25052 100644 (file)
@@ -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: