summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authordonkopunchstania <donkopunchstania@gmail.com>2010-03-09 04:38:07 +0000
committerdonkopunchstania <donkopunchstania@gmail.com>2010-03-09 04:38:07 +0000
commitcc7c6cd35f0cccb19a4e3681259b55cebeeb80ba (patch)
treeb32a1c18ff547148bac6ef4548158abeee1277bb /Source/Core/VideoCommon
parent5beb6dfd4718c5580d4b90edf38ef7bd6882e0f4 (diff)
Texture coordinates are stored in fixed point format in TEV which allows overflows to be emulated correctly. Added logic to calculated texture LOD and use the correct mip. Dumping textures will now dump all mip levels. Added line rendering. Changed data stored in vertex from float arrays to vectors for cleaner math.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5178 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/Src/BPMemory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/BPMemory.h b/Source/Core/VideoCommon/Src/BPMemory.h
index cb022893fd..0a62bea162 100644
--- a/Source/Core/VideoCommon/Src/BPMemory.h
+++ b/Source/Core/VideoCommon/Src/BPMemory.h
@@ -451,7 +451,8 @@ union TexMode0
unsigned mag_filter : 1;
unsigned min_filter : 3;
unsigned diag_lod : 1;
- signed lod_bias : 10;
+ signed lod_bias : 8;
+ unsigned pad0 : 2;
unsigned max_aniso : 2;
unsigned lod_clamp : 1;
};