[Mesa-dev] [PATCH 1/2] radv: do not add the image BO in radv_set_color_clear_regs()
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Tue Nov 14 23:10:09 UTC 2017
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
On Tue, Nov 14, 2017 at 4:38 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> radv_fill_buffer() ensures that the image BO is added to the list.
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/amd/vulkan/radv_cmd_buffer.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
> index 2e94c125be..95e3953118 100644
> --- a/src/amd/vulkan/radv_cmd_buffer.c
> +++ b/src/amd/vulkan/radv_cmd_buffer.c
> @@ -1396,8 +1396,6 @@ radv_set_color_clear_regs(struct radv_cmd_buffer *cmd_buffer,
> if (!image->cmask.size && !image->surface.dcc_size)
> return;
>
> - radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, image->bo, 8);
> -
> radeon_emit(cmd_buffer->cs, PKT3(PKT3_WRITE_DATA, 4, 0));
> radeon_emit(cmd_buffer->cs, S_370_DST_SEL(V_370_MEM_ASYNC) |
> S_370_WR_CONFIRM(1) |
> --
> 2.15.0
>
> _______________________________________________
> 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