OSDN Git Service

i965: Make fs_visitor::emit_urb_writes set EOT for TES as well.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 2 Dec 2015 01:52:58 +0000 (17:52 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Dec 2015 21:11:15 +0000 (13:11 -0800)
commit82455e5396753f034a946dc036443fabc8010464
tree44708002a985e0f2a2f7c3030a60d6064bad8733
parent7e0c22d461bc5b52cdc90a698e98063d9d6a5f5f
i965: Make fs_visitor::emit_urb_writes set EOT for TES as well.

Tessellation evaluation shaders work almost identically to vertex
shaders - we have a set of URB writes at the end of the program, and the
last one should terminate it.

Geometry shaders really are the special case, where multiple
EmitVertex() calls trigger URB writes in the middle of the program.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp