i965: Simplify intel_miptree_updownsample.
authorEric Anholt <eric@anholt.net>
Thu, 13 Feb 2014 18:52:47 +0000 (10:52 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2014 17:56:34 +0000 (09:56 -0800)
commit0440e677b98c6e09f0958fcf782be67dccb94b08
tree3138cc3b471e8c6357d36b384c29dcfd35b1bd62
parentbbd85ad27c0051697b49260348c686a1b947e884
i965: Simplify intel_miptree_updownsample.

Pretty silly to pass in values dereferenced out of one of the arguments.

v2: Get the destination size from the dst, even though the callers are
    always dealing with src size == dst size cases.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c