diff options
author | Brian <[email protected]> | 2008-02-04 18:03:05 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-04 18:03:05 -0700 |
commit | 684d320ea2e7ec03d01275a544068cc6b45e1e9a (patch) | |
tree | 2b8e0c2210db42aeecfe1cfd07e4f09227dab38d /src | |
parent | 7cbe5cf212d296c19ccf8e1b74d3a5b1bcb2d9e9 (diff) |
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_texture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_texture.c b/src/mesa/pipe/cell/spu/spu_texture.c index 01ff33a8573..3962aaa4a9b 100644 --- a/src/mesa/pipe/cell/spu/spu_texture.c +++ b/src/mesa/pipe/cell/spu/spu_texture.c @@ -26,8 +26,6 @@ **************************************************************************/ -#include <vec_literal.h> - #include "pipe/p_compiler.h" #include "spu_main.h" #include "spu_texture.h" @@ -57,7 +55,7 @@ invalidate_tex_cache(void) /* XXX memset? */ uint i; for (i = 0; i < CACHE_SIZE; i++) { - tex_tile_xy[i] = VEC_LITERAL(vector unsigned int, ~0U, ~0U, ~0U, ~0U); + tex_tile_xy[i] = ((vector unsigned int) { ~0U, ~0U, ~0U, ~0U }); } } |