[Mesa-dev] [PATCH v3 04/18] anv: Use framebuffer layers for implicit subpass transitions

Nanley Chery nanleychery at gmail.com
Wed Feb 14 22:27:27 UTC 2018


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"

This patch is
Reviewed-by: Nanley Chery <nanley.g.chery at intel.com>

> 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


More information about the mesa-dev mailing list