summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2014-07-09 15:32:57 +0200
committerIago Toral Quiroga <[email protected]>2014-09-19 15:01:15 +0200
commit621685ad4c747cc67e1b6c7ba95fa59774196a54 (patch)
tree4d613d8ce145227c8551a6c37b105f67bef67151 /src/mesa
parent2c85132e511bbef9a0965c69848981b1bffb5bad (diff)
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 <[email protected]> Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_generator.cpp2
1 files changed, 1 insertions, 1 deletions
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 */