[Mesa-dev] regression on nvc0 since floating point compare instructions

Christoph Bumiller e0425955 at student.tuwien.ac.at
Thu Sep 12 07:24:24 PDT 2013


On 12.09.2013 16:14, Roland Scheidegger wrote:
> Am 12.09.2013 03:40, schrieb Dave Airlie:
>>> Maybe the type isn't set correctly? Looks to me like these instructions
>>> end up in mkCmp, which will set both src and dst type but ignore src
>>> type and set both according to the same type (which was the dst type).
>>>
>>> Roland
>> Okay I've attached my next attempt at fixing it, fixes the two testcases I had.
>
> No idea what setting type there really does but I guess that looks right
> :-). Though I'm wondering if U32 vs. S32 would make a difference for dst
> type since some of the (unsigned) comparisons still would use U32.

It doesn't make a difference, making it signed is unnecessary.
If it helped before that was just because it made negative floats be
interpreted as negative ints (instead of large ints) which has a
slightly better chance of "succeeding".

> Roland



More information about the mesa-dev mailing list