Re: [Mesa-dev] [PATCH] i965: Fix last slot calculations

2017-01-05 Thread Timothy Arceri
On Wed, 2017-01-04 at 21:33 -0800, Kenneth Graunke wrote: > If the VUE map has slots at the end which the shader does not write, > then we'd "flush" (constructing an URB write) on the last output it > actually wrote.  Then, we'd construct another SEND with EOT, but with > no actual payload data.  T

[Mesa-dev] [PATCH] i965: Fix last slot calculations

2017-01-04 Thread Kenneth Graunke
If the VUE map has slots at the end which the shader does not write, then we'd "flush" (constructing an URB write) on the last output it actually wrote. Then, we'd construct another SEND with EOT, but with no actual payload data. That's not legal. For example, SSO programs have clip distance slo