broadcom/vc5: Fix layout of 3D textures.
authorEric Anholt <eric@anholt.net>
Thu, 2 Nov 2017 23:59:10 +0000 (16:59 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 23 Feb 2018 23:07:26 +0000 (15:07 -0800)
commitb4b4ada7616dec49e9386670e455553d277e5f85
tree271278e4c74ab257f096bc79757db562e437c6fc
parent97dc0773032d6284ea5c63758abf704d877f65dc
broadcom/vc5: Fix layout of 3D textures.

Cube maps are entire miptrees repeated, while 3D textures have each level
have all of its layers next to each other.  Fixes tex3d and
tex-miplevel-selection GL2:texture() 3D.
src/gallium/drivers/vc5/vc5_resource.c
src/gallium/drivers/vc5/vc5_resource.h