diff options
author | Roland Scheidegger <[email protected]> | 2009-11-26 22:49:58 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-11-26 22:51:45 +0100 |
commit | d509f84543d0979e9bb53c20c195f378dd61e728 (patch) | |
tree | 1f5d3fac9862714c898b3f4f58974bff8699a382 /src/gallium/drivers/nv50/nv50_tex.c | |
parent | 683e35f726a182ed9fc6b6d5cb07146eebe14dea (diff) |
gallium: fix more statetrackers/drivers for not using texture width/height/depth arrays
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_tex.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_tex.c b/src/gallium/drivers/nv50/nv50_tex.c index 2813f544770..417d3679422 100644 --- a/src/gallium/drivers/nv50/nv50_tex.c +++ b/src/gallium/drivers/nv50/nv50_tex.c @@ -131,9 +131,9 @@ nv50_tex_construct(struct nv50_context *nv50, struct nouveau_stateobj *so, NOUVEAU_BO_RD, 0, 0); so_data (so, mode); so_data (so, 0x00300000); - so_data (so, mt->base.base.width[0] | (1 << 31)); + so_data (so, mt->base.base.width0 | (1 << 31)); so_data (so, (mt->base.base.last_level << 28) | - (mt->base.base.depth[0] << 16) | mt->base.base.height[0]); + (mt->base.base.depth0 << 16) | mt->base.base.height0); so_data (so, 0x03000000); so_data (so, mt->base.base.last_level << 4); |