Re: [Mesa-dev] [PATCH] anv/cmd_buffer: Avoid unnecessary transitions before fast clears

2018-02-26 Thread Jason Ekstrand
, 26. Februar 2018 03:33 > An: mesa-dev@lists.freedesktop.org > Cc: Jason Ekstrand > Betreff: [Mesa-dev] [PATCH] anv/cmd_buffer: Avoid unnecessary transitions > before fast clears > > Previously, we would always apply the layout transition at the beginning > of the subpass and

Re: [Mesa-dev] [PATCH] anv/cmd_buffer: Avoid unnecessary transitions before fast clears

2018-02-26 Thread Michael Schellenberger Costa
HI Jason, -Ursprüngliche Nachricht- Von: mesa-dev [mailto:mesa-dev-boun...@lists.freedesktop.org] Im Auftrag von Jason Ekstrand Gesendet: Montag, 26. Februar 2018 03:33 An: mesa-dev@lists.freedesktop.org Cc: Jason Ekstrand Betreff: [Mesa-dev] [PATCH] anv/cmd_buffer: Avoid unnecessary

[Mesa-dev] [PATCH] anv/cmd_buffer: Avoid unnecessary transitions before fast clears

2018-02-25 Thread Jason Ekstrand
Previously, we would always apply the layout transition at the beginning of the subpass and then do the clear whether fast or slow. This meant that there were some cases, specifically when the initial layout is VK_IMAGE_LAYOUT_UNDEFINED, where we would end up doing a fast-clear or ambiguate follow