commit | db1899ced07525c7efe27886ef131ab09bb5072a | [log] [tgz] |
---|---|---|
author | shannon.woods@transgaming.com <shannon.woods@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Feb 28 23:08:33 2013 +0000 |
committer | shannon.woods@transgaming.com <shannon.woods@transgaming.com@736b8ea6-26fd-11df-bfd4-992fa37f6226> | Thu Feb 28 23:08:33 2013 +0000 |
tree | c0decc58c61ba0ffd68ffc63c7769ad252df853e | |
parent | d212e6203ab44e56c4cc32486810a31b8fc77ef7 [diff] [blame] |
VertexDataManager now supports direct buffers when vertex conversion is not needed. TRAC #22297 Signed-off-by: Jamie Madill Signed-off-by: Nicolas Capens Author: Geoff Lang git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1886 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/renderer/VertexDeclarationCache.cpp b/src/libGLESv2/renderer/VertexDeclarationCache.cpp index 8ed226d..a65a158 100644 --- a/src/libGLESv2/renderer/VertexDeclarationCache.cpp +++ b/src/libGLESv2/renderer/VertexDeclarationCache.cpp
@@ -82,6 +82,9 @@ { if (attributes[i].active) { + // Directly binding the storage buffer is not supported for d3d9 + ASSERT(attributes[i].storage == NULL); + int stream = i; if (instances > 0)