[Mesa-dev] [PATCH 3/5] mesa: Make the gl_constant_value's bool occupy the same space as float/int.

Kenneth Graunke kenneth at whitecape.org
Sun Aug 21 22:48:28 PDT 2011

On 08/21/2011 11:05 AM, Eric Anholt wrote:
> On Sat, 20 Aug 2011 15:10:18 -0700, Dan McCabe <zen3d.linux at gmail.com> wrote:
>> On 08/20/2011 01:30 PM, Bryan Cain wrote:
>>> On 08/20/2011 03:05 PM, Dan McCabe wrote:
>>>> What are the implications for other architectures that support doubles?
>>> I don't see what you mean.  gl_constant_value doesn't support doubles yet.
>> "Yet" - that is the operative word.
>> You can buy GPUs that support doubles today. Therefore, double support 
>> should be on our radar (it appears to be on Eric's radar, based on his 
>> commit comment). And we should understand what the implications are for 
>> our code. Clearly, I don't understand the implications; if I did, I 
>> wouldn't have asked. But perhaps Eric might.
>> There are a couple of possible answers.
>> "I don't know" - OK, but at least let's ask the question and start 
>> thinking about it's answer.
>> "No impact" - I like that answer.
>> "It affects this, and this, and this" - While not ideal, at least we 
>> then know what to do in the future and prepare ourselves for that future.
> No, the other answer, "not interested."  We have much we need to do
> before then, doubles are totally uninteresting at this point.

Yeah, agreed.  We can cross that bridge when we come to it.  The
architecture and code will have evolved significantly by the time we get
there anyway.

More information about the mesa-dev mailing list