[Mesa-dev] [PATCH 2/2] i965: Fix brw_memory_barrier() for SKL.

Francisco Jerez currojerez at riseup.net
Tue Aug 4 07:07:22 PDT 2015


Francisco Jerez <currojerez at riseup.net> writes:

> This works as-is on SKL, only the assertion needs to be relaxed.

I'm going to push this straightforward series I sent back in May without
review if there have been no complaints by the end of the week.

> ---
>  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 e5c0d3c..aea26e2 100644
> --- a/src/mesa/drivers/dri/i965/brw_program.c
> +++ b/src/mesa/drivers/dri/i965/brw_program.c
> @@ -196,7 +196,7 @@ brw_memory_barrier(struct gl_context *ctx, GLbitfield barriers)
>     unsigned bits = (PIPE_CONTROL_DATA_CACHE_INVALIDATE |
>                      PIPE_CONTROL_NO_WRITE |
>                      PIPE_CONTROL_CS_STALL);
> -   assert(brw->gen >= 7 && brw->gen <= 8);
> +   assert(brw->gen >= 7 && brw->gen <= 9);
>  
>     if (barriers & (GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT |
>                     GL_ELEMENT_ARRAY_BARRIER_BIT |
> -- 
> 2.3.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150804/fb76dc0b/attachment.sig>


More information about the mesa-dev mailing list