gallivm: (trivial) remove duplicated line
authorRoland Scheidegger <sroland@vmware.com>
Thu, 16 Mar 2017 03:01:41 +0000 (04:01 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Thu, 16 Mar 2017 03:03:29 +0000 (04:03 +0100)
pointed out by clang (stored value never read)

src/gallium/auxiliary/gallivm/lp_bld_format_soa.c

index cd17040d3ef172bfdd84f0c66315f6c050d5e2a4..98eb694c1f63ca3e09c1e95ec5d64df8cf100862 100644 (file)
@@ -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