summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-01 15:24:00 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-01 15:24:00 -0700
commit17305489f0d2a0681d4c0d4952957af517019ab6 (patch)
tree29b3d14ce766dbb713b45d06b5ca8988d0bbfb8e
parentb1a472bfb7df5ba273574e1799c5b8e85ca5f2d9 (diff)
Cell: deprecate some use of struct cell_command - it should go away completely
Also, remove ALIGN16_ATTRIB from structs that no longer need it.
-rw-r--r--src/mesa/pipe/cell/common.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/pipe/cell/common.h b/src/mesa/pipe/cell/common.h
index 05aeed83ab..7e193f31be 100644
--- a/src/mesa/pipe/cell/common.h
+++ b/src/mesa/pipe/cell/common.h
@@ -105,7 +105,7 @@ struct cell_command_framebuffer
int width, height;
void *color_start, *depth_start;
enum pipe_format color_format, depth_format;
-} ALIGN16_ATTRIB;
+};
/**
@@ -116,7 +116,7 @@ struct cell_command_clear_surface
uint opcode;
uint surface; /**< Temporary: 0=color, 1=Z */
uint value;
-} ALIGN16_ATTRIB;
+};
/**
@@ -173,7 +173,7 @@ struct cell_command_render
uint dummy3;
uint min_index;
boolean inline_verts;
-} ALIGN16_ATTRIB;
+};
struct cell_command_release_verts
@@ -191,11 +191,14 @@ struct cell_command_texture
/** XXX unions don't seem to work */
+/* XXX this should go away; all commands should be placed in batch buffers */
struct cell_command
{
+#if 0
struct cell_command_framebuffer fb;
struct cell_command_clear_surface clear;
struct cell_command_render render;
+#endif
struct cell_command_vs vs;
} ALIGN16_ATTRIB;