mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-21 11:51:48 +02:00
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.
22 lines
620 B
C++
22 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);
|
|
};
|