diff options
author | Brian <[email protected]> | 2007-08-16 18:11:55 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-16 18:11:55 -0600 |
commit | 3fc926f3740da9ec27853d158243055f3cb43d43 (patch) | |
tree | 67b5f9e3b8945d45cac4776a1b5e1e4f122cf137 /src/mesa/pipe/p_util.h | |
parent | e3bdd66bf69fb12fa02d161989755944077b280d (diff) |
Remove many dependencies on mesa headers.
To build with mesa, need -DMESA in makefile/config file.
Diffstat (limited to 'src/mesa/pipe/p_util.h')
-rwxr-xr-x | src/mesa/pipe/p_util.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_util.h b/src/mesa/pipe/p_util.h index 072dad0573a..f4af16a2dea 100755 --- a/src/mesa/pipe/p_util.h +++ b/src/mesa/pipe/p_util.h @@ -112,6 +112,18 @@ do { \ } while (0) +#define COPY_4FV( DST, SRC ) COPY_4V(DST, SRC) + + +#define ASSIGN_4V( DST, V0, V1, V2, V3 ) \ +do { \ + (DST)[0] = (V0); \ + (DST)[1] = (V1); \ + (DST)[2] = (V2); \ + (DST)[3] = (V3); \ +} while (0) + + static INLINE int ifloor(float f) { int ai, bi; |