summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_ureg.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-11-26 19:21:55 +0100
committerMichal Krol <[email protected]>2009-11-26 20:41:38 +0100
commit75df599e30bda03b40c0442eff3e39ec84397ede (patch)
tree9b66ce6312185d6460173281d3e4170929a4abc8 /src/gallium/auxiliary/tgsi/tgsi_ureg.c
parent953b74d116c88f2b93740b6d1f713bb1b5989e98 (diff)
tgsi/ureg: Add forgotten goto in ureg_DECL_constant().
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_ureg.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_ureg.c1
1 files changed, 1 insertions, 0 deletions
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: