projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12118fc
)
nv30: do not shift texture format
author
Patrice Mandin
<pmandin@caramail.com>
Sat, 12 Jul 2008 11:59:01 +0000
(13:59 +0200)
committer
Patrice Mandin
<pmandin@caramail.com>
Sat, 12 Jul 2008 11:59:01 +0000
(13:59 +0200)
src/gallium/drivers/nv30/nv30_fragtex.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv30/nv30_fragtex.c
b/src/gallium/drivers/nv30/nv30_fragtex.c
index 8c5e88ea1da248e815f34f17f391103194efb637..4242f86f76ffcb40c184b4524c2845661c7cfe01 100644
(file)
--- a/
src/gallium/drivers/nv30/nv30_fragtex.c
+++ b/
src/gallium/drivers/nv30/nv30_fragtex.c
@@
-97,7
+97,7
@@
nv30_fragtex_build(struct nv30_context *nv30, int unit)
if (!tf)
assert(0);
- txf = tf->format
<< 8
;
+ txf = tf->format;
txf |= ((pt->last_level>0) ? NV34TCL_TX_FORMAT_MIPMAP : 0);
txf |= log2i(pt->width[0]) << 20;
txf |= log2i(pt->height[0]) << 24;