[Mesa-dev] [PATCH] i965: Bump number of supported atomic counter buffers.

Kenneth Graunke kenneth at whitecape.org
Sun Nov 24 22:46:04 PST 2013


On 11/24/2013 05:39 PM, Francisco Jerez wrote:
> Now that we have dynamic binding tables there's no good reason anymore
> to expose so few atomic counter buffers.  Increase it to 16.
> ---
>  src/mesa/drivers/dri/i965/brw_context.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
> index 63f0687..97f8906 100644
> --- a/src/mesa/drivers/dri/i965/brw_context.h
> +++ b/src/mesa/drivers/dri/i965/brw_context.h
> @@ -660,7 +660,7 @@ struct brw_gs_prog_data
>  #define BRW_MAX_DRAW_BUFFERS 8
>  
>  /** Max number of atomic counter buffer objects in a shader */
> -#define BRW_MAX_ABO 4
> +#define BRW_MAX_ABO 16
>  
>  /**
>   * Max number of binding table entries used for stream output.

Seems reasonable.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>



More information about the mesa-dev mailing list