On 11/12/17 4:16 PM, Ilia Mirkin wrote:
On Sun, Nov 12, 2017 at 9:09 AM, Tobias Klausmann
wrote:
On 11/12/17 3:53 AM, Ilia Mirkin wrote:
It's common to use signed int modulo in GLSL. As it happens, the GLSL
specs allow the result to be undefined, but that seems fairly
surprising. It's not tha
On Sun, Nov 12, 2017 at 9:09 AM, Tobias Klausmann
wrote:
>
> On 11/12/17 3:53 AM, Ilia Mirkin wrote:
>>
>> It's common to use signed int modulo in GLSL. As it happens, the GLSL
>> specs allow the result to be undefined, but that seems fairly
>> surprising. It's not that much more effort to get it
On 11/12/17 3:53 AM, Ilia Mirkin wrote:
It's common to use signed int modulo in GLSL. As it happens, the GLSL
specs allow the result to be undefined, but that seems fairly
surprising. It's not that much more effort to get it right, at least for
positive modulo operators.
Signed-off-by: Ilia Mir
It's common to use signed int modulo in GLSL. As it happens, the GLSL
specs allow the result to be undefined, but that seems fairly
surprising. It's not that much more effort to get it right, at least for
positive modulo operators.
Signed-off-by: Ilia Mirkin
---
v1 -> v2:
- fix SHLADD folding