broadcom/vc5: Fix MSAA depth/stencil size setup.
authorEric Anholt <eric@anholt.net>
Fri, 30 Mar 2018 23:14:29 +0000 (16:14 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Apr 2018 18:20:50 +0000 (11:20 -0700)
commit7553cbfc9d78f0a4f8816122ce6327bc3899c2b5
tree1e4ef4154060976af5b2be6be5d145975576e990
parentfa328456e8f29bd4522deee5d6a8fa4a5ba74f05
broadcom/vc5: Fix MSAA depth/stencil size setup.

The v3dX(get_internal_type_bpp_for_output_format)() call only handles
color output formats (which overlap in enum numbers with depth output
formats), so for depth we just need to take the normal cpp times the
number of samples.
src/gallium/drivers/vc5/vc5_resource.c