[Mesa-dev] [PATCH 11/16] i965/icl: Update the assert in brw_memory_barrier()

Kenneth Graunke kenneth at whitecape.org
Wed Feb 14 02:17:50 UTC 2018


On Tuesday, February 13, 2018 11:15:11 AM PST Anuj Phogat wrote:
> Nothing is changed here from gen10 to gen11. So, just update
> the assert.
> 
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  src/mesa/drivers/dri/i965/brw_program.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c
> index 7fae22c620..381cc2887d 100644
> --- a/src/mesa/drivers/dri/i965/brw_program.c
> +++ b/src/mesa/drivers/dri/i965/brw_program.c
> @@ -280,7 +280,7 @@ brw_memory_barrier(struct gl_context *ctx, GLbitfield barriers)
>     unsigned bits = (PIPE_CONTROL_DATA_CACHE_FLUSH |
>                      PIPE_CONTROL_NO_WRITE |
>                      PIPE_CONTROL_CS_STALL);
> -   assert(devinfo->gen >= 7 && devinfo->gen <= 10);
> +   assert(devinfo->gen >= 7 && devinfo->gen <= 11);
>  
>     if (barriers & (GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT |
>                     GL_ELEMENT_ARRAY_BARRIER_BIT |
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180213/bd75352f/attachment.sig>


More information about the mesa-dev mailing list