Kenneth Graunke <kenn...@whitecape.org> writes:

> On 10/01/2013 07:15 PM, Francisco Jerez wrote:
>[...]
>> @@ -441,6 +442,27 @@ struct glsl_type {
>>     }
>>  
>>     /**
>> +    * Return the amount of atomic counter storage required for a type.
>> +    */
>> +   unsigned atomic_size() const
>> +   {
>> +      if (base_type == GLSL_TYPE_ATOMIC_UINT)
>> +         return ATOMIC_COUNTER_SIZE;
>
> This doesn't compile, since ATOMIC_COUNTER_SIZE is not defined.
>
Ken, this patch is not expected to compile alone without a bunch of
patches from my previous series that I didn't resend to avoid flooding
the list.  You can find a working branch with all the necessary
dependencies here:

http://cgit.freedesktop.org/~currojerez/mesa/log/?h=atomic-counters

Thanks.

>> +      else if (is_array())
>> +         return length * element_type()->atomic_size();
>> +      else
>> +         return 0;
>> +   }

Attachment: pgphnyWRpytIk.pgp
Description: PGP signature

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

Reply via email to