summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_texture.h
diff options
context:
space:
mode:
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>2009-10-22 22:57:30 +0200
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>2009-10-22 23:05:12 +0200
commit198925caa18526e5aa908ab50482aff814207dc2 (patch)
treeb388bfdefa1d582f59378ac4ed5ec412a421ecaa /src/gallium/drivers/nv50/nv50_texture.h
parent4b8de9bd7c6f77fcf3f1f2b939bab980e074e8bf (diff)
nv50: handle PIPE_TEX_FILTER_ANISO case
Set the same bits as for linear filtering (in addition to max anisotropy), and 2 unknown bits I've seen set.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_texture.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_texture.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_texture.h b/src/gallium/drivers/nv50/nv50_texture.h
index 207fb039f7..13f74c11c6 100644
--- a/src/gallium/drivers/nv50/nv50_texture.h
+++ b/src/gallium/drivers/nv50/nv50_texture.h
@@ -133,6 +133,8 @@
#define NV50TSC_1_1_MIPF_NEAREST 0x00000080
#define NV50TSC_1_1_MIPF_LINEAR 0x000000c0
#define NV50TSC_1_1_LOD_BIAS_MASK 0x01fff000
+#define NV50TSC_1_1_UNKN_ANISO_15 0x10000000
+#define NV50TSC_1_1_UNKN_ANISO_35 0x18000000
#define NV50TSC_1_2_MIN_LOD_MASK 0x00000f00
#define NV50TSC_1_2_MAX_LOD_MASK 0x00f00000