[Mesa-dev] [PATCH] panfrost: List primitive restart enable bit

Christian Gmeiner christian.gmeiner at gmail.com
Wed Feb 27 08:48:36 UTC 2019


Am Mi., 27. Feb. 2019 um 05:48 Uhr schrieb Alyssa Rosenzweig
<alyssa at rosenzweig.io>:
>
> Signed-off-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
> ---
>  src/gallium/drivers/panfrost/include/panfrost-job.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/gallium/drivers/panfrost/include/panfrost-job.h b/src/gallium/drivers/panfrost/include/panfrost-job.h
> index 1d738486617..d719325d07b 100644
> --- a/src/gallium/drivers/panfrost/include/panfrost-job.h
> +++ b/src/gallium/drivers/panfrost/include/panfrost-job.h
> @@ -820,10 +820,12 @@ struct mali_uniform_buffer_meta {
>   */
>
>  /* Applies to unknown_draw */
> +
>  #define MALI_DRAW_INDEXED_UINT8  (0x10)
>  #define MALI_DRAW_INDEXED_UINT16 (0x20)
>  #define MALI_DRAW_INDEXED_UINT32 (0x30)
>  #define MALI_DRAW_VARYING_SIZE   (0x100)
> +#define MALI_DRAW_PRIMITIVE_RESTART_FIXED_INDEX (0x10000)
>
>  struct mali_vertex_tiler_prefix {
>          /* This is a dynamic bitfield containing the following things in this order:

super nitpicking: What is the purpose of this change? Should this
define be added when it really gets used?

-- 
greets
--
Christian Gmeiner, MSc

https://christian-gmeiner.info


More information about the mesa-dev mailing list