mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
f749fcfa9f
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.
23 lines
620 B
C++
23 lines
620 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"
|
|
|
|
enum class VertexComponentFormat;
|
|
enum class ComponentFormat;
|
|
enum class CoordComponentCount;
|
|
|
|
class VertexLoader_Position
|
|
{
|
|
public:
|
|
static u32 GetSize(VertexComponentFormat type, ComponentFormat format,
|
|
CoordComponentCount elements);
|
|
|
|
static TPipelineFunction GetFunction(VertexComponentFormat type, ComponentFormat format,
|
|
CoordComponentCount elements);
|
|
};
|