mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
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 <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
This commit is contained in:
parent
6ae419b94d
commit
cb755996d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue