summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-27 17:41:55 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-27 17:41:55 -0600
commit39038c11699bbc9baab744542e96d54e91cb452a (patch)
tree6c59c1e9fd85bb9edcbae29ad4b10acacd6110bb /src/gallium/drivers/cell/ppu/cell_vertex_fetch.c
parent37da2d685102ab5a706e0634fc55c60229598faa (diff)
gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBS
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_vertex_fetch.c')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_vertex_fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c b/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c
index 4828a8023b..49d5443cde 100644
--- a/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c
+++ b/src/gallium/drivers/cell/ppu/cell_vertex_fetch.c
@@ -263,7 +263,7 @@ void cell_update_vertex_fetch(struct draw_context *draw)
struct cell_context *const cell =
(struct cell_context *) draw->driver_private;
struct spe_function *p = &cell->attrib_fetch;
- unsigned function_index[PIPE_ATTRIB_MAX];
+ unsigned function_index[PIPE_MAX_ATTRIBS];
unsigned unique_attr_formats;
int out_ptr;
int in_ptr;