Re: [Mesa-dev] [PATCH] draw: fix infinite loop in line stippling

2018-11-23 Thread Jose Fonseca
On 23/11/2018 01:34, srol...@vmware.com wrote: From: Roland Scheidegger The calculated length of a line may be infinite, if the coords we get are bogus. This leads to an infinite loop in line stippling. To prevent this test for this explicitly (although technically on at least x86 sse it would

[Mesa-dev] [PATCH] draw: fix infinite loop in line stippling

2018-11-22 Thread sroland
From: Roland Scheidegger The calculated length of a line may be infinite, if the coords we get are bogus. This leads to an infinite loop in line stippling. To prevent this test for this explicitly (although technically on at least x86 sse it would actually work without the explicit test, as long