mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Convert CPMemory to BitField and enum class
Additionally, VCacheEnhance has been added to UVAT_group1. According to YAGCD, this field is always 1. TVtxDesc also now has separate low and high fields whose hex values correspond with the proper registers, instead of having one 33-bit value. This change was made in a way that should be backwards-compatible.
This commit is contained in:
@ -7,12 +7,18 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "VideoCommon/VertexLoader.h"
|
||||
|
||||
enum class VertexComponentFormat;
|
||||
enum class ComponentFormat;
|
||||
enum class TexComponentCount;
|
||||
|
||||
class VertexLoader_TextCoord
|
||||
{
|
||||
public:
|
||||
static u32 GetSize(u64 type, u32 format, u32 elements);
|
||||
static u32 GetSize(VertexComponentFormat type, ComponentFormat format,
|
||||
TexComponentCount elements);
|
||||
|
||||
static TPipelineFunction GetFunction(u64 type, u32 format, u32 elements);
|
||||
static TPipelineFunction GetFunction(VertexComponentFormat type, ComponentFormat format,
|
||||
TexComponentCount elements);
|
||||
|
||||
// It is important to synchronize tcIndex.
|
||||
static TPipelineFunction GetDummyFunction();
|
||||
|
Reference in New Issue
Block a user