aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/cell/spu/spu_main.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2008-02-27 13:40:23 -0800
committerIan Romanick <[email protected]>2008-02-27 13:41:09 -0800
commit1c50ea2cd9ab8752793c99b4a7a2a6656bdde1ac (patch)
tree29d33ed3e6ef77711530cd7be4b8e19faf18a5ea /src/gallium/drivers/cell/spu/spu_main.c
parentcc5ffd762227345d0a5bf9e9356dd83a8b2a8b33 (diff)
cell: Use unified data cache for textures too
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_main.c')
-rw-r--r--src/gallium/drivers/cell/spu/spu_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_main.c b/src/gallium/drivers/cell/spu/spu_main.c
index cc4bafdb3ac..59300028d4d 100644
--- a/src/gallium/drivers/cell/spu/spu_main.c
+++ b/src/gallium/drivers/cell/spu/spu_main.c
@@ -286,6 +286,8 @@ cmd_state_texture(const struct cell_command_texture *texture)
{ spu.texture.width, spu.texture.height, 0.0, 0.0};
spu.tex_size_mask = (vector unsigned int)
{ spu.texture.width - 1, spu.texture.height - 1, 0, 0 };
+ spu.tex_size_x_mask = spu_splats(spu.texture.width - 1);
+ spu.tex_size_y_mask = spu_splats(spu.texture.height - 1);
}