mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
8268b6f454
Makes VertexLoader_Normal completely stateless, eliminating the need for an Init() function, and by extension, also gets rid of the need for the FifoAnalyzer to have an Init() function.
17 lines
395 B
C++
17 lines
395 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "Common/CommonTypes.h"
|
|
#include "VideoCommon/VertexLoader.h"
|
|
|
|
class VertexLoader_Normal
|
|
{
|
|
public:
|
|
static u32 GetSize(u64 type, u32 format, u32 elements, u32 index3);
|
|
|
|
static TPipelineFunction GetFunction(u64 type, u32 format, u32 elements, u32 index3);
|
|
};
|