[Mesa-dev] [PATCH 4/4] i965: Use ~0 to represent true on all generations.

Matt Turner mattst88 at gmail.com
Thu Dec 4 19:10:51 PST 2014


On Thu, Dec 4, 2014 at 6:54 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 12/04/2014 04:33 PM, Matt Turner wrote:
>> On Thu, Dec 4, 2014 at 4:26 PM, Ian Romanick <idr at freedesktop.org> wrote:
>>> On 12/04/2014 03:05 PM, Matt Turner wrote:
>>>> Jason realized that we could fix the result of the CMP instruction on
>>>> Gen <= 5 by doing -(result & 1). Also do the resolves in the vec4
>>>> backend before use, rather than when the bool was created. The FS does
>>>> this and it saves some unnecessary resolves.
>>>>
>>>> On Ironlake:
>>>
>>> No piglit changes on ILK, I assume?
>>
>> Non-ILK? Right, no changes.
>
> No, I meant Ironlake.  Since this change is an optimization that only
> affects ILK and earlier platforms, I assumed it wouldn't break later
> platforms... it shouldn't break the platforms that it's optimizing
> either. :)

Oh, I missed "piglit". Yeah, it ran through Jenkins.


More information about the mesa-dev mailing list