[Mesa-stable] [Mesa-dev] [PATCH] radv: Fix CmdCopyImage between uncompressed and compressed images

Alex Smith asmith at feralinteractive.com
Wed Mar 14 10:00:59 UTC 2018


On 13 March 2018 at 19:14, Dave Airlie <airlied at gmail.com> wrote:

> On 13 March 2018 at 01:38, Alex Smith <asmith at feralinteractive.com> wrote:
> > From the spec:
> >
> >     "When copying between compressed and uncompressed formats the
> >      extent members represent the texel dimensions of the source
> >      image and not the destination."
> >
> > However, as per 7b890a36, we must still use the destination image type
> > when clamping the extent so that we copy the correct number of layers
> > for 2D to 3D copies.
> >
> > Fixes: 7b890a36 "radv: Fix vkCmdCopyImage for 2d slices into 3d Images"
> > Cc: <mesa-stable at lists.freedesktop.org>
> > Signed-off-by: Alex Smith <asmith at feralinteractive.com>
>
> Reviewed-by: Dave Airlie <airlied at redhat.com>
>
> Might be worth filing a cts issue to see if someone wants to write
> tests for this sort of hole.
>

Thanks, pushed. CTS issue filed:
https://github.com/KhronosGroup/VK-GL-CTS/issues/90


>
> Dave.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20180314/3af208f2/attachment.html>


More information about the mesa-stable mailing list