[Mesa-dev] [PATCH 2/2] radv: update ia_multi_vgt when executing secondary buffers

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Mon Oct 16 12:24:54 UTC 2017


r-b for the series.

On Mon, Oct 16, 2017 at 2:15 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/amd/vulkan/radv_cmd_buffer.c | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
> index 2252d80e11..9d59028bfd 100644
> --- a/src/amd/vulkan/radv_cmd_buffer.c
> +++ b/src/amd/vulkan/radv_cmd_buffer.c
> @@ -2679,6 +2679,11 @@ void radv_CmdExecuteCommands(
>                         primary->state.last_primitive_reset_index =
>                                 secondary->state.last_primitive_reset_index;
>                 }
> +
> +               if (secondary->state.last_ia_multi_vgt_param) {
> +                       primary->state.last_ia_multi_vgt_param =
> +                               secondary->state.last_ia_multi_vgt_param;
> +               }
>         }
>
>         /* After executing commands from secondary buffers we have to dirty
> --
> 2.14.2
>
> _______________________________________________
> 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