summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-13 15:17:01 -0600
committerBrian Paul <[email protected]>2008-10-13 16:43:36 -0600
commitb0c136cfb1fcbcea35e17dc699a96acbb24738f5 (patch)
treea2428127579d72b816d3c48da040d7038547e36c /src/gallium/drivers/cell
parentc05cabd646f1c7384b5187e3427064096aef4673 (diff)
cell: remove old texture-related fields
Diffstat (limited to 'src/gallium/drivers/cell')
-rw-r--r--src/gallium/drivers/cell/spu/spu_command.c3
-rw-r--r--src/gallium/drivers/cell/spu/spu_main.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_command.c b/src/gallium/drivers/cell/spu/spu_command.c
index d4cc9a21467..64890f6dbd6 100644
--- a/src/gallium/drivers/cell/spu/spu_command.c
+++ b/src/gallium/drivers/cell/spu/spu_command.c
@@ -330,9 +330,6 @@ cmd_state_texture(const struct cell_command_texture *texture)
spu.texture[unit].tiles_per_row = width / TILE_SIZE;
- spu.texture[unit].tex_size = (vector float) { width, height, 0.0, 0.0};
- spu.texture[unit].tex_size_mask = (vector unsigned int)
- { width - 1, height - 1, 0, 0 };
spu.texture[unit].tex_size_x_mask = spu_splats(width - 1);
spu.texture[unit].tex_size_y_mask = spu_splats(height - 1);
}
diff --git a/src/gallium/drivers/cell/spu/spu_main.h b/src/gallium/drivers/cell/spu/spu_main.h
index 2a8cb00f8df..e3960dbe8b6 100644
--- a/src/gallium/drivers/cell/spu/spu_main.h
+++ b/src/gallium/drivers/cell/spu/spu_main.h
@@ -112,10 +112,8 @@ struct spu_texture
void *start;
ushort width, height;
ushort tiles_per_row;
- vector float tex_size; /**< == {width, height, 0, 0} */
vector float width4; /**< == {width, width, width, width} */
vector float height4; /**< == {height, height, height, height} */
- vector unsigned int tex_size_mask; /**< == {width-1, height-1, 0, 0 } */
vector unsigned int tex_size_x_mask; /**< splat(width-1) */
vector unsigned int tex_size_y_mask; /**< splat(height-1) */
} ALIGN16_ATTRIB;