summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-04 18:03:05 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:30 +1100
commit6a3f1ea91d3d8e4c47144cda422db9db761be94d (patch)
tree8889a981bbe64aa3cd52de81649ca98660eb3414 /src
parentf603652c30c40f7f7948fbdc79a3479016d8073f (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.c4
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 01ff33a857..3962aaa4a9 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 });
}
}