aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/cell/spu/spu_tile.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-01 15:33:53 -0700
committerBrian <[email protected]>2008-02-01 15:33:53 -0700
commit42201d7574ebb1582563988820c248680081c42f (patch)
tree35033930ab6221cf3db8e1ffd0025bc866dbfaba /src/mesa/pipe/cell/spu/spu_tile.h
parent17305489f0d2a0681d4c0d4952957af517019ab6 (diff)
Cell: rename/move global vars
Put tile-related globals into spu_global struct. Rename c/ztile fields to be more consistant.
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_tile.h')
-rw-r--r--src/mesa/pipe/cell/spu/spu_tile.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_tile.h b/src/mesa/pipe/cell/spu/spu_tile.h
index 85a0d558079..e53340a55a4 100644
--- a/src/mesa/pipe/cell/spu/spu_tile.h
+++ b/src/mesa/pipe/cell/spu/spu_tile.h
@@ -35,33 +35,6 @@
#include "pipe/cell/common.h"
-#define MAX_WIDTH 1024
-#define MAX_HEIGHT 1024
-
-
-typedef union {
- ushort us[TILE_SIZE][TILE_SIZE];
- uint ui[TILE_SIZE][TILE_SIZE];
- vector unsigned short us8[TILE_SIZE/2][TILE_SIZE/4];
- vector unsigned int ui4[TILE_SIZE/2][TILE_SIZE/2];
-} tile_t;
-
-
-extern tile_t ctile ALIGN16_ATTRIB;
-extern tile_t ztile ALIGN16_ATTRIB;
-
-
-#define TILE_STATUS_CLEAR 1
-#define TILE_STATUS_DEFINED 2 /**< defined in FB, but not in local store */
-#define TILE_STATUS_CLEAN 3 /**< in local store, but not changed */
-#define TILE_STATUS_DIRTY 4 /**< modified locally, but not put back yet */
-#define TILE_STATUS_GETTING 5 /**< mfc_get() called but not yet arrived */
-
-extern ubyte tile_status[MAX_HEIGHT/TILE_SIZE][MAX_WIDTH/TILE_SIZE] ALIGN16_ATTRIB;
-extern ubyte tile_status_z[MAX_HEIGHT/TILE_SIZE][MAX_WIDTH/TILE_SIZE] ALIGN16_ATTRIB;
-
-extern ubyte cur_tile_status_c, cur_tile_status_z;
-
void
get_tile(uint tx, uint ty, tile_t *tile, int tag, int zBuf);