Re: [Mesa-dev] [PATCH] draw: fix clipvertex trouble if position comes from gs

2014-08-06 Thread Zack Rusin
On Aug 5, 2014, at 9:40 PM, srol...@vmware.com wrote: > From: Roland Scheidegger > > If the vertex shader has no position but the gs has, the clipvertex output > was -1 (because it's the same as vs position in this case if there's no > explicit clipvertex output). This caused crashes (or assertio

[Mesa-dev] [PATCH] draw: fix clipvertex trouble if position comes from gs

2014-08-05 Thread sroland
From: Roland Scheidegger If the vertex shader has no position but the gs has, the clipvertex output was -1 (because it's the same as vs position in this case if there's no explicit clipvertex output). This caused crashes (or assertion failures) in clipping since in the end position (which came fr