summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv30
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@caramail.com>2008-07-12 13:59:01 +0200
committerPatrice Mandin <pmandin@caramail.com>2008-07-12 13:59:01 +0200
commita9863caefc9ed1ae098ea9033a82dbdc556edd30 (patch)
tree98b4e6091752031fad7ff784d2d9c7c87e624eb7 /src/gallium/drivers/nv30
parent12118fcd123992f48ce78629e79e9949b96cd525 (diff)
nv30: do not shift texture format
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r--src/gallium/drivers/nv30/nv30_fragtex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragtex.c b/src/gallium/drivers/nv30/nv30_fragtex.c
index 8c5e88ea1d..4242f86f76 100644
--- 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;