From 621685ad4c747cc67e1b6c7ba95fa59774196a54 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Wed, 9 Jul 2014 15:32:57 +0200 Subject: [PATCH] i965/gen6/gs: Add instruction URB flags to geometry shaders EOT message. Gen6 seems to require that EOT messages include the complete flag too or else the GPU hangs. We add will this flag to the instruction when we emit the thread end opcode. Acked-by: Kenneth Graunke Reviewed-by: Jordan Justen --- src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp index f98c472430c..ebc54916c12 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp @@ -500,7 +500,7 @@ vec4_generator::generate_gs_thread_end(vec4_instruction *inst) brw_null_reg(), /* dest */ inst->base_mrf, /* starting mrf reg nr */ src, - BRW_URB_WRITE_EOT, + BRW_URB_WRITE_EOT | inst->urb_write_flags, brw->gen >= 8 ? 2 : 1,/* message len */ 0, /* response len */ 0, /* urb destination offset */ -- 2.30.2