OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cbe5cf
)
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 5 Feb 2008 01:03:05 +0000
(18:03 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 5 Feb 2008 01:03:05 +0000
(18:03 -0700)
src/mesa/pipe/cell/spu/spu_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/cell/spu/spu_texture.c
b/src/mesa/pipe/cell/spu/spu_texture.c
index
01ff33a
..
3962aaa
100644
(file)
--- 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 }
);
}
}