summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexLoader.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2013-03-29 14:27:33 +0100
committerdegasus <wickmarkus@web.de>2013-03-29 14:27:33 +0100
commitca8554e7d1d7c77b3c2a9ed8a7fb12de7096c67b (patch)
treed4ffebafd1430f53c99bf0dc34b8dd80d319b4b4 /Source/Core/VideoCommon/Src/VertexLoader.cpp
parentc743e75d928f3367214d0ac87f80f3946c73e818 (diff)
first try of primitive restart index generator
Convert all quads+triangles into trangle_strip and uses primitive restart to split them. Speed up triangle_strip, but slows down all others primitive formats. Only implemented in ogl.
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoader.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexLoader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp
index 5df495a44c..74c1bd9705 100644
--- a/Source/Core/VideoCommon/Src/VertexLoader.cpp
+++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp
@@ -659,6 +659,10 @@ void VertexLoader::SetVAT(u32 _group0, u32 _group1, u32 _group2)
m_VtxAttr.texCoord[7].Elements = vat.g2.Tex7CoordElements;
m_VtxAttr.texCoord[7].Format = vat.g2.Tex7CoordFormat;
m_VtxAttr.texCoord[7].Frac = vat.g2.Tex7Frac;
+
+ if(!m_VtxAttr.ByteDequant) {
+ ERROR_LOG(VIDEO, "ByteDequant is set to zero");
+ }
};
void VertexLoader::AppendToString(std::string *dest) const