mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 17:50:35 +01:00
cell: remove old texture-related fields
This commit is contained in:
parent
c05cabd646
commit
b0c136cfb1
2 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue