[Mesa-stable] [Mesa-dev] [PATCH 1/2] i965: Add _NEW_POINT to a couple of comments.

Iago Toral itoral at igalia.com
Thu Jun 2 13:52:03 UTC 2016


Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>

On Wed, 2016-06-01 at 21:25 -0700, Kenneth Graunke wrote:
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> Cc: "12.0" <mesa-stable at lists.freedesktop.org>
> ---
>  src/mesa/drivers/dri/i965/gen6_sf_state.c | 2 +-
>  src/mesa/drivers/dri/i965/gen7_sf_state.c | 2 +-
>  src/mesa/drivers/dri/i965/gen8_sf_state.c | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c
> index 8b1b7eb..0538ab7 100644
> --- a/src/mesa/drivers/dri/i965/gen6_sf_state.c
> +++ b/src/mesa/drivers/dri/i965/gen6_sf_state.c
> @@ -378,7 +378,7 @@ upload_sf_state(struct brw_context *brw)
>  	 ctx->Point._Attenuated))
>        dw4 |= GEN6_SF_USE_STATE_POINT_WIDTH;
>  
> -   /* Clamp to ARB_point_parameters user limits */
> +   /* _NEW_POINT - Clamp to ARB_point_parameters user limits */
>     point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
>  
>     /* Clamp to the hardware limits and convert to fixed point */
> diff --git a/src/mesa/drivers/dri/i965/gen7_sf_state.c b/src/mesa/drivers/dri/i965/gen7_sf_state.c
> index 7a3cc53..d3a658c 100644
> --- a/src/mesa/drivers/dri/i965/gen7_sf_state.c
> +++ b/src/mesa/drivers/dri/i965/gen7_sf_state.c
> @@ -217,7 +217,7 @@ upload_sf_state(struct brw_context *brw)
>     if (!(ctx->VertexProgram.PointSizeEnabled || ctx->Point._Attenuated))
>        dw3 |= GEN6_SF_USE_STATE_POINT_WIDTH;
>  
> -   /* Clamp to ARB_point_parameters user limits */
> +   /* _NEW_POINT - Clamp to ARB_point_parameters user limits */
>     point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
>  
>     /* Clamp to the hardware limits and convert to fixed point */
> diff --git a/src/mesa/drivers/dri/i965/gen8_sf_state.c b/src/mesa/drivers/dri/i965/gen8_sf_state.c
> index 60e8c94..d854b6d 100644
> --- a/src/mesa/drivers/dri/i965/gen8_sf_state.c
> +++ b/src/mesa/drivers/dri/i965/gen8_sf_state.c
> @@ -166,7 +166,7 @@ upload_sf(struct brw_context *brw)
>        dw2 |= GEN6_SF_LINE_END_CAP_WIDTH_1_0;
>     }
>  
> -   /* Clamp to ARB_point_parameters user limits */
> +   /* _NEW_POINT - Clamp to ARB_point_parameters user limits */
>     point_size = CLAMP(ctx->Point.Size, ctx->Point.MinSize, ctx->Point.MaxSize);
>  
>     /* Clamp to the hardware limits and convert to fixed point */




More information about the mesa-stable mailing list