[Mesa-dev] [PATCH v2] radv: Fix descriptors for cube images with VK_IMAGE_USAGE_STORAGE_BIT

Alex Smith asmith at feralinteractive.com
Fri Jul 21 15:51:42 UTC 2017


On 21 July 2017 at 15:33, Grazvydas Ignotas <notasas at gmail.com> wrote:

> On Fri, Jul 21, 2017 at 11:21 AM, Alex Smith
> <asmith at feralinteractive.com> wrote:
> >
> > I don't have Doom available to test. How's it broken?
>
> After the menu loads, it gets stuck flipping between some 2 (?)
> arbitrary frames than are no longer updating.
>
> > Could you see if removing the usage flags condition on the second call to
> > radv_image_view_make_descriptor makes any difference? Otherwise I'm not
> sure
> > what's wrong - as far as I could tell this should be making RADV do
> > basically the same as what radeonsi does.
>
> That seems to fix it, as well as reverting the whole patch (still
> reverts cleanly).
>

OK, RADV can use images as storage images internally for resolves, which
don't require destination images to have TRANSFER_DST usage as far as I can
see. I guess that must be what's going wrong. I'll send a fix.

Alex


>
> GraÅžvydas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170721/ad37dd61/attachment.html>


More information about the mesa-dev mailing list