svga: move some code in svga_propagate_surface()
authorBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 13:00:48 +0000 (07:00 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 20:20:19 +0000 (14:20 -0600)
commit8433b433378fce3b578b9fcf47e0ed6b92b68a59
treedb2b2fb8bdd3edc37ef4184cfeea4ec0f003aa7a
parent1a10b37ac3ff7adaf8e876a893cbd6fa0486426f
svga: move some code in svga_propagate_surface()

Move computation of zslice, layer inside the conditional where they're
used.

Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_surface.c