OSDN Git Service

broadcom/vc5: Return the depth in all components of depth textures.
authorEric Anholt <eric@anholt.net>
Thu, 16 Nov 2017 20:01:13 +0000 (12:01 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Dec 2017 21:40:30 +0000 (13:40 -0800)
commit81cdfdd670757638f29cea2d80b143021d13f5a3
treeda2fcb2f6260235414fc365034b9e94f4dbc1c84
parent8efb57c05ea4b3d93ebd10e8bf1c4829ec14a6e5
broadcom/vc5: Return the depth in all components of depth textures.

Apparently gallium's u_blitter wants depth from at least the .z component,
and other swizzling appears to apply on top of that.  Fixes
fbo-generatemipmap-formats failures with depth formats.
src/gallium/drivers/vc5/vc5_formats.c