summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-03-12 01:55:44 -0700
committerKenneth Graunke <[email protected]>2015-10-21 14:27:50 -0700
commitcb755996d91e9f44c93121f9534b0c59bb3ec201 (patch)
tree76cd1e6f1b057068eded77fe3ab01e19f1ded752
parent6ae419b94d7a7d2dfbb9a2908d28ca5aea4724e3 (diff)
i965: Make emit_urb_writes() only set EOT for the VS.
The GS will emit a bunch of vertices, and we don't want to do an EOT prematurely. We'll emit GS_OPCODE_THREAD_END when we want to terminate the thread. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
index d7c4a6e213d..4610ea19c67 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
@@ -1005,7 +1005,7 @@ fs_visitor::emit_urb_writes()
fs_inst *inst =
abld.emit(SHADER_OPCODE_URB_WRITE_SIMD8, reg_undef, payload);
- inst->eot = last;
+ inst->eot = last && stage == MESA_SHADER_VERTEX;
inst->mlen = length + 1;
inst->offset = urb_offset;
urb_offset = slot + 1;