Re: [Mesa-dev] [PATCH] r600: fix constant buffer bounds.

2018-05-10 Thread Ivan Kalvachev
On 5/10/18, Roland Scheidegger wrote: > Quite a sneaky little bug, can't hurt to make undefined behavior a bit > more defined :-). Actually, this behavior is completely defined in Direct3D, where out-of-bound access is expected to always return 0.0 . This is why Witcher1 has

Re: [Mesa-dev] [PATCH] glsl: remove unreachable assert()

2018-04-11 Thread Ivan Kalvachev
On 4/11/18, Ivan Kalvachev <ikalvac...@gmail.com> wrote: > On 4/11/18, Emil Velikov <emil.l.veli...@gmail.com> wrote: >> On 10 April 2018 at 18:10, Jason Ekstrand <ja...@jlekstrand.net> wrote: >>> On Tue, Apr 10, 2018 at 10:05 AM, Emil Velikov >

Re: [Mesa-dev] [PATCH] glsl: remove unreachable assert()

2018-04-11 Thread Ivan Kalvachev
On 4/11/18, Emil Velikov <emil.l.veli...@gmail.com> wrote: > On 10 April 2018 at 18:10, Jason Ekstrand <ja...@jlekstrand.net> wrote: >> On Tue, Apr 10, 2018 at 10:05 AM, Emil Velikov <emil.l.veli...@gmail.com> >> wrote: >>> >>> On 10 April 2018 at

Re: [Mesa-dev] [PATCH] glsl: remove unreachable assert()

2018-04-10 Thread Ivan Kalvachev
On 3/28/18, Emil Velikov wrote: > From: Emil Velikov > > Earlier commit enforced that we'll bail out if the number of terminators > is different than 2. With that in mind, the assert() will never trigger. > > Fixes: 56b867395de ("glsl: fix

Re: [Mesa-dev] [PATCH v3] r600g: Fix special negative immediate constants when using ABS modifier.

2015-10-29 Thread Ivan Kalvachev
On 10/29/15, Ilia Mirkin <imir...@alum.mit.edu> wrote: > On Wed, Oct 28, 2015 at 8:52 PM, Ivan Kalvachev <ikalvac...@gmail.com> > wrote: >> I'm attaching v3 of the patch. Same as v2, but without the extra empty >> line. > > FYI, there's a lot of overhead to re

[Mesa-dev] [PATCH v3] r600g: Fix special negative immediate constants when using ABS modifier.

2015-10-28 Thread Ivan Kalvachev
-- Forwarded message -- From: Ivan Kalvachev <ikalvac...@gmail.com> Date: Wed, 28 Oct 2015 23:46:44 +0200 Subject: [PATCH v3] r600g: Fix special negative immediate constants when using ABS modifier. To: Nicolai Hähnle <nhaeh...@gmail.com> On 10/26/15, Nicolai H

[Mesa-dev] [PATCH v2] r600g: Fix special negative immediate constants when using ABS modifier.

2015-10-25 Thread Ivan Kalvachev
On 10/25/15, Ivan Kalvachev <ikalvac...@gmail.com> wrote: > Some constants (like 1.0 and 0.5) could be inlined as immediate inputs > without using their literal value. The r600_bytecode_special_constants() > function emulates the negative of these constants by using NEG modifier. &

[Mesa-dev] [PATCH] r600: Fix special negative immediate constants when using ABS modifier.

2015-10-24 Thread Ivan Kalvachev
by using ABS modifier. But r600_bytecode_special_constants() set NEG in addition to ABS. Since NEG modifier have priority over ABS one, we get -|1.0| as result, instead of |1.0|. The patch simply prevents the additional switching of NEG when ABS is set. Signed-off-by: Ivan Kalvachev <ikal

Re: [Mesa-dev] [RFC] libGL.so.1.2.0 new name

2012-10-05 Thread Ivan Kalvachev
By mistake I replied to Brain only, so I'll try with another mail... On 10/4/12, Brian Paul bri...@vmware.com wrote: On 10/02/2012 05:00 PM, Ivan Kalvachev wrote: Hello, I would like to make a request. Would you kindly change the name of libGL.so.1.2.0 to libGL_mesa.so* and make all

[Mesa-dev] [RFC] libGL.so.1.2.0 new name

2012-10-02 Thread Ivan Kalvachev
. Ivan Kalvachev ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev