[Mesa-dev] [PATCH] nir/search: Use the correct bit size for integer comparisons

Jason Ekstrand jason at jlekstrand.net
Sat Jan 21 18:32:53 UTC 2017


On Sat, Jan 21, 2017 at 9:11 AM, Matt Turner <mattst88 at gmail.com> wrote:

> On Thu, Jan 19, 2017 at 9:47 PM, Jason Ekstrand <jason at jlekstrand.net>
> wrote:
> > This gets the UE4 bitfield_extract optimization working again.  It had
> > stopped working due to the constant 0xff00ff00 getting sign-extended
> > when it shouldn't have.
>
> Wait, what? When did it get broken?
>

When the our Igalia friends modified nir_search to support 64-bit values.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170121/b40358b4/attachment.html>


More information about the mesa-dev mailing list