[Mesa-dev] [PATCH v3 04/18] anv: Use framebuffer layers for implicit subpass transitions
Jason Ekstrand
jason at jlekstrand.net
Wed Feb 14 23:18:38 UTC 2018
On Wed, Feb 14, 2018 at 2:27 PM, Nanley Chery <nanleychery at gmail.com> wrote:
> On Wed, Feb 14, 2018 at 12:16:19PM -0800, Jason Ekstrand wrote:
> > ---
> > src/intel/vulkan/genX_cmd_buffer.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
>
> We should probabably add:
>
> Fixes: de3be618016 "anv/cmd_buffer: Rework aux tracking"
>
Done.
> This patch is
> Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>
>
Thanks!
> > diff --git a/src/intel/vulkan/genX_cmd_buffer.c
> b/src/intel/vulkan/genX_cmd_buffer.c
> > index 8b1816a..a16b742 100644
> > --- a/src/intel/vulkan/genX_cmd_buffer.c
> > +++ b/src/intel/vulkan/genX_cmd_buffer.c
> > @@ -3324,7 +3324,7 @@ cmd_buffer_subpass_transition_layouts(struct
> anv_cmd_buffer * const cmd_buffer,
> > iview->planes[0].isl.base_level);
> > } else {
> > base_layer = iview->planes[0].isl.base_array_layer;
> > - layer_count = iview->planes[0].isl.array_len;
> > + layer_count = cmd_state->framebuffer->layers;
> > }
> >
> > transition_color_buffer(cmd_buffer, image,
> VK_IMAGE_ASPECT_COLOR_BIT,
> > --
> > 2.5.0.400.gff86faf
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180214/be975df5/attachment.html>
More information about the mesa-dev
mailing list