On 09/21/2012 08:41 AM, Brian Paul wrote:
> On 09/21/2012 03:47 AM, Kenneth Graunke wrote:
[snip]
>> +#define Elements(x) (sizeof(x)/sizeof(*(x)))
>
> We have an ARRAY_SIZE() macro already.
Oops :) I thought we had one of those, but I must've been blind when I
went looking for it...
>
>> +
>>
On 09/21/2012 03:47 AM, Kenneth Graunke wrote:
This tests every possible DEPTH_TEXTURE_MODE with a random smattering of
EXT_texture_swizzle modes. While it could be more exhaustive (or use a
more logically ordered layout), it does catch the bugs I wanted to
detect.
Signed-off-by: Kenneth Graunk
This tests every possible DEPTH_TEXTURE_MODE with a random smattering of
EXT_texture_swizzle modes. While it could be more exhaustive (or use a
more logically ordered layout), it does catch the bugs I wanted to
detect.
Signed-off-by: Kenneth Graunke
---
tests/all.tests