summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorYuriy O'Donnell <yuriyo@gmail.com>2014-06-09 00:36:26 +0200
committerYuriy O'Donnell <yuriyo@gmail.com>2014-10-15 20:22:39 +0200
commit2e4667caaa517392e8fbce00af5cf189d8960f2c (patch)
treeefad18c05cbd15e11e2fc7c0b06d7044c1b3e4c1 /Source/Core/VideoCommon
parentf434bd7d3f12b51ce79bff02a032b7774c7279a9 (diff)
D3D: Moved render state cache into separate source files.
Refactored StateCache::Get() to early out for narrower indentation. Added comments to clarify ownership of objects returned by StateCache::Get().
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/BPMemory.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/BPMemory.h b/Source/Core/VideoCommon/BPMemory.h
index 346af479f2..d46a927370 100644
--- a/Source/Core/VideoCommon/BPMemory.h
+++ b/Source/Core/VideoCommon/BPMemory.h
@@ -413,6 +413,13 @@ union RAS1_IREF
union TexMode0
{
+ enum TextureFilter : u32
+ {
+ TEXF_NONE = 0,
+ TEXF_POINT = 1,
+ TEXF_LINEAR = 2
+ };
+
struct
{
u32 wrap_s : 2;