summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2017-03-16 04:01:41 +0100
committerRoland Scheidegger <[email protected]>2017-03-16 04:03:29 +0100
commite1f9e9bafdb6da44c6bd6be8414913e481f8b031 (patch)
treefec8b46dcaa2ecdef8adc6dbb38ff8d78ccfc1ca /src/gallium/auxiliary/gallivm
parent9d104dfd55afa4477fcc4037b992a8c99ac97431 (diff)
gallivm: (trivial) remove duplicated line
pointed out by clang (stored value never read)
Diffstat (limited to 'src/gallium/auxiliary/gallivm')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_format_soa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
index cd17040d3ef..98eb694c1f6 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c
@@ -505,7 +505,6 @@ lp_build_fetch_rgba_soa(struct gallivm_state *gallivm,
* First, figure out fetch order.
*/
fetch_width = util_next_power_of_two(format_desc->block.bits);
- num_gather = fetch_width / type.width;
/*
* fp64 are treated like fp32 except we fetch twice wide values
* (as we shuffle after trunc). The shuffles for that work out