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

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Thu Oct 12 22:47:01 UTC 2017


Why don't we use the approach from patch 3 for this?

Otherwise the series is r-b?

On Wed, Oct 11, 2017 at 10:25 AM, 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 | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
> index 9d6fb9fe40..f6f9847a14 100644
> --- a/src/amd/vulkan/radv_cmd_buffer.c
> +++ b/src/amd/vulkan/radv_cmd_buffer.c
> @@ -2680,6 +2680,7 @@ void radv_CmdExecuteCommands(
>
>                 primary->state.last_primitive_reset_en = secondary->state.last_primitive_reset_en;
>                 primary->state.last_primitive_reset_index = secondary->state.last_primitive_reset_index;
> +               primary->state.last_ia_multi_vgt_param = secondary->state.last_ia_multi_vgt_param;
>         }
>
>         /* if we execute secondary we need to mark some stuff to reset 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