Re: [Mesa-dev] [PATCH 1/2] i965: Make emit_urb_writes() not produce an EOT message for GS.

2016-06-27 Thread Kenneth Graunke
On Monday, June 27, 2016 2:50:02 PM PDT Iago Toral wrote: > On Sun, 2016-06-26 at 01:53 -0700, Kenneth Graunke wrote: > > emit_urb_writes() contains code to emit an EOT write with no actual > > data when there are no output varyings. This makes sense for the VS > > and TES stages, where it's calle

Re: [Mesa-dev] [PATCH 1/2] i965: Make emit_urb_writes() not produce an EOT message for GS.

2016-06-27 Thread Iago Toral
On Sun, 2016-06-26 at 01:53 -0700, Kenneth Graunke wrote: > emit_urb_writes() contains code to emit an EOT write with no actual > data when there are no output varyings. This makes sense for the VS > and TES stages, where it's called once at the end of the program. > > However, in the geometry sh

[Mesa-dev] [PATCH 1/2] i965: Make emit_urb_writes() not produce an EOT message for GS.

2016-06-26 Thread Kenneth Graunke
emit_urb_writes() contains code to emit an EOT write with no actual data when there are no output varyings. This makes sense for the VS and TES stages, where it's called once at the end of the program. However, in the geometry shader stage, emit_urb_writes() is called once for every EmitVertex().