Michał Król wrote:
> On Mon, Mar 16, 2009 at 10:41 AM, Thomas Hellstrom
> wrote:
>
>> tom fogal wrote:
>>
>>> thellst...@vmware.com writes:
>>> [snip]
>>>
>>>
+#if (defined(PIPE_CC_GCC) && defined(__i386__))
>>> ^
>>>
>>> This is basi
On Mon, Mar 16, 2009 at 10:41 AM, Thomas Hellstrom
wrote:
> tom fogal wrote:
>> thellst...@vmware.com writes:
>> [snip]
>>
>>> +#if (defined(PIPE_CC_GCC) && defined(__i386__))
>>>
>>
>> ^
>>
>> This is basically an #ifdef (__GNUC__), I'm guessing?
>>
>>
> Yes, however it s
tom fogal wrote:
> thellst...@vmware.com writes:
> [snip]
>
>> +#if (defined(PIPE_CC_GCC) && defined(__i386__))
>>
>
> ^
>
> This is basically an #ifdef (__GNUC__), I'm guessing?
>
>
Yes, however it seems like the rest of the gallium code is using private
define
thellst...@vmware.com writes:
[snip]
> +#if (defined(PIPE_CC_GCC) && defined(__i386__))
^
This is basically an #ifdef (__GNUC__), I'm guessing?
> +struct pipe_atomic {
> + int32_t count;
> +};
[snip]
> +static INLINE int32_t
> +p_atomic_cmpxchg(struct pipe_atomic *v, i
From: Thomas Hellstrom
Note that the fallback implementation should really not be used.
See comments in src/gallium/include/pipe/p_atomic.h
Signed-off-by: Thomas Hellstrom
---
src/gallium/include/pipe/p_atomic.h | 147 +++
1 files changed, 147 insertions(+), 0