From 27d0034938a8cee86a5a85cc22f610b1afdc9530 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Thu, 20 Jul 2017 16:21:03 -0700 Subject: [PATCH] i965/icl: Update the assert in brw_memory_barrier() Nothing is changed here from gen10 to gen11. So, just update the assert. Signed-off-by: Anuj Phogat Reviewed-by: Kenneth Graunke --- 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 9aaffc37bd1..a5134995161 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 | -- 2.30.2