On Thu, Feb 5, 2015 at 1:37 PM, Matt Turner <matts...@gmail.com> wrote:
>> @@ -499,6 +525,12 @@ static const char *const operator_strs[] = {
>>     "bitcast_u2f",
>>     "bitcast_f2u",
>>     "any",
>> +   "d2f",
>> +   "f2d",
>> +   "d2i",
>> +   "i2d",
>> +   "d2u",
>> +   "u2d",
>
> I see in the spec that you can convert double <-> bool, but I don't
> see operations for these.

The conversion is done via d2f + f2b (or b2f + f2d). Not sure what the
rationale was for not adding d2b/b2d, but it definitely does work as
implemented.

  -ilia
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to