gallium/u_transfer_helper: Initialize the stride of MSAA maps.
authorEric Anholt <eric@anholt.net>
Tue, 10 Jul 2018 00:51:37 +0000 (17:51 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 12 Jul 2018 18:31:06 +0000 (11:31 -0700)
commite0dbbf9987c6f75b8aeb38ac70fb906a3e0d9493
tree604e8d7cbbe0fd55d3fbb63a88b829e1a93eba89
parent589bb5bd6571f03d85e5bbc835549d9a0d71ead1
gallium/u_transfer_helper: Initialize the stride of MSAA maps.

We just never set the value that was returned for MSAA mappings (directly
reading back an MSAA framebuffer).  Since we're handing back ss_map, it
should be ss_map's stride from our nested transfer.

Fixes piglit /home/anholt/src/piglit/bin/fbo-depthstencil -samples=4
cases.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/auxiliary/util/u_transfer_helper.c