mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Move moving things around and preparing for the next step (cached vertexloaders).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@957 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -55,17 +55,12 @@ enum {
|
||||
VB_HAS_UVTEXMTXSHIFT=13,
|
||||
};
|
||||
|
||||
|
||||
#define LOADERDECL __cdecl
|
||||
typedef void (LOADERDECL *TPipelineFunction)(const void *);
|
||||
|
||||
// This will soon be used in a cache of vertex formats, rather than used in-place.
|
||||
// The implementation of this class is specific for GL/DX, so NativeVertexFormat.cpp
|
||||
// is in the respective plugin, not here in VideoCommon.
|
||||
|
||||
// This class will also be split into NativeVertexFormat and VertexFormatConverter.
|
||||
// VertexFormatConverters will be cached, indexed by TVtxDesc+TVtxAttr.
|
||||
|
||||
// Note that this class can't just invent arbitrary vertex formats out of its input -
|
||||
// all the data loading code must always be made compatible.
|
||||
class NativeVertexFormat
|
||||
@ -84,6 +79,4 @@ public:
|
||||
u32 m_components; // VB_HAS_X. Bitmask telling what vertex components are present.
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif // _NATIVEVERTEXFORMAT_H
|
||||
|
Reference in New Issue
Block a user