[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-dev
Subject:    Re: [Mesa-dev] [PATCH 6/6] Bitwise conversion operator support in the software renderers.
From:       Kenneth Graunke <kenneth () whitecape ! org>
Date:       2012-04-30 20:18:10
Message-ID: 4F9EF382.7010004 () whitecape ! org
[Download RAW message or body]

On 04/30/2012 11:24 AM, Eric Anholt wrote:
> On Mon, 30 Apr 2012 13:19:06 +0200, Olivier Galibert<galibert@pobox.com>  wrote:
>> TGSI doesn't need an opcode, since registers are untyped (but beware
>> once doubles come into the scene).  Mesa needs two because registers
>> are typed float.  They're not going to work anyway, given that a float
>> does not have enough mantissa bits to store a full 32bits integer.
>>
>> Of course, in the end, it was only tested with softpipe, since the
>> other two software renderers don't support glsl 1.3 yet.
>
> I don't think we should bother with the ir_to_mesa for this.  ir_to_mesa
> is never supporting integer, so the code will never be executed.

Agreed.  No need for ir_to_mesa code---at this point, it's only 
targeting architectures that exclusively do floating point.  We really 
only need this for i965 and st_glsl_to_tgsi.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic