projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b586774
)
nv50: fix texturing from >=4GiB mark
author
Ben Skeggs
<bskeggs@redhat.com>
Tue, 16 Mar 2010 03:18:39 +0000
(13:18 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Tue, 16 Mar 2010 03:18:39 +0000
(13:18 +1000)
src/gallium/drivers/nv50/nv50_tex.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv50/nv50_tex.c
b/src/gallium/drivers/nv50/nv50_tex.c
index 4c48b12cd87b377b24a061b47c74276fcbf3c558..eb64f6cee484d4cb7bbe99f0c14eef82e30c37f2 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_tex.c
+++ b/
src/gallium/drivers/nv50/nv50_tex.c
@@
-137,7
+137,8
@@
nv50_tex_construct(struct nv50_context *nv50, struct nouveau_stateobj *so,
so_data (so, nv50_tex_format_list[i].hw);
so_reloc(so, mt->base.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_LOW |
NOUVEAU_BO_RD, 0, 0);
- so_data (so, mode);
+ so_reloc(so, mt->base.bo, 0, NOUVEAU_BO_VRAM | NOUVEAU_BO_HIGH |
+ NOUVEAU_BO_RD | NOUVEAU_BO_OR, mode, mode);
so_data (so, 0x00300000);
so_data (so, mt->base.base.width0 | (1 << 31));
so_data (so, (mt->base.base.last_level << 28) |