mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-19 16:59:13 +00:00
VertexLoader: Optimize GetVertexSize
GetComponentSizes was unused, so we simplify this and get rid of the branches.
This commit is contained in:
parent
3420823002
commit
8aa214453a
2 changed files with 11 additions and 31 deletions
|
@ -62,7 +62,6 @@ class VertexLoaderBase
|
|||
public:
|
||||
static u32 GetVertexSize(const TVtxDesc& vtx_desc, const VAT& vtx_attr);
|
||||
static u32 GetVertexComponents(const TVtxDesc& vtx_desc, const VAT& vtx_attr);
|
||||
static std::vector<u32> GetVertexComponentSizes(const TVtxDesc& vtx_desc, const VAT& vtx_attr);
|
||||
static std::unique_ptr<VertexLoaderBase> CreateVertexLoader(const TVtxDesc& vtx_desc,
|
||||
const VAT& vtx_attr);
|
||||
virtual ~VertexLoaderBase() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue