965: get fragment shader compiler compiling

Don't think that it will run though.
This commit is contained in:
Keith Whitwell
2007-12-13 20:38:56 +00:00
parent c605a55e9f
commit 568fcf64c7
32 changed files with 1785 additions and 2028 deletions

View File

@@ -360,6 +360,11 @@ static INLINE float LOG2(float val)
#define CEILF(x) ((float) ceil(x))
#endif
static INLINE int align(int value, int alignment)
{
return (value + alignment - 1) & ~(alignment - 1);
}
/* Convenient...
*/
extern void _mesa_printf(const char *str, ...);