[Mesa-dev] [PATCH 2/2] i965: add runtime check for SSSE3 rgba8_copy

Ian Romanick idr at freedesktop.org
Thu Nov 6 14:25:55 PST 2014


On 11/06/2014 02:12 PM, Matt Turner wrote:
> On Thu, Nov 6, 2014 at 1:22 PM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
>> On Thu, 2014-11-06 at 10:03 -0800, Matt Turner wrote:
>>> On Thu, Nov 6, 2014 at 4:20 AM, Timothy Arceri <t_arceri at yahoo.com.au> wrote:
>>>> +#include <assert.h>
>>>> +#include <stdint.h>
>>>> +#include <stddef.h>
>>>
>>> I don't think you need these three includes for a single prototype.
>>
>> Right I can move assert to the .c
> 
> Presumably one of the others can be removed as well? I don't know what
> defines size_t.

stddef.h since C89 at least.

>>>> +
>>>> +/* Fast copying for tile spans.
>>>> + *
>>>> + * As long as the destination texture is 16 aligned,
>>>> + * any 16 or 64 spans we get here should also be 16 aligned.
>>>> + */
>>>> +void *
>>>> +_mesa_fast_rgba8_copy(void *dst, const void *src, size_t n);
>>>> --
>>>> 1.9.3
>>>>
>>>> _______________________________________________
>>>> mesa-dev mailing list
>>>> mesa-dev at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev



More information about the mesa-dev mailing list