projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i965/cs: Emit MEDIA_STATE_FLUSH after WALKER
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_compute.c
diff --git
a/src/mesa/drivers/dri/i965/brw_compute.c
b/src/mesa/drivers/dri/i965/brw_compute.c
index 044deae83c989e03a19cc30f55572051a7502f65..b3d6de51adcc41e7ba0f42d0128a829ee9855cfb 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_compute.c
+++ b/
src/mesa/drivers/dri/i965/brw_compute.c
@@
-74,6
+74,11
@@
brw_emit_gpgpu_walker(struct brw_context *brw, const GLuint *num_groups)
OUT_BATCH(right_mask); /* Right Execution Mask */
OUT_BATCH(0xffffffff); /* Bottom Execution Mask */
ADVANCE_BATCH();
+
+ BEGIN_BATCH(2);
+ OUT_BATCH(MEDIA_STATE_FLUSH << 16 | (2 - 2));
+ OUT_BATCH(0);
+ ADVANCE_BATCH();
}