[Mesa-dev] [PATCH v3] radv: fix multisample image copies

Samuel Pitoiset samuel.pitoiset at gmail.com
Fri Apr 27 16:55:22 UTC 2018



On 04/27/2018 06:34 PM, Samuel Pitoiset wrote:
> From: Matthew Nicholls <mnicholls at feralinteractive.com>
> 
> Previously before fb077b0728, the LOD parameter was being used in place of the
> sample index, which would only copy the first sample to all samples in the
> destination image. After that multisample image copies wouldn't copy anything
> from my observations.
> 
> This fixes some copy_and_blit CTS tests.
> 
> v3: - reset is_multisampled for 3D images (Samuel)
> v2: - use GLSL_SAMPLER_DIM_MS instead of 2D (Samuel)
>      - updated commit description (Samuel)
> 
> Fix this properly by copying each sample in a separate radv_CmdDraw and using a
> pipeline with the correct rasterizationSamples for the destination image.
> 
> Cc: 18.0 18.1 <mesa-stable at lists.freedesktop.org>

Please ignore, it's not what we want.


More information about the mesa-dev mailing list