diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-09-20 17:14:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-20 17:14:07 -0400 |
| commit | 22197c09a3cf2753c007d8ef8d75daa5fc2c44b9 (patch) | |
| tree | 14d5aa4ae61d100f3bc7a394021963258fbf3dc1 /Source/Core/VideoCommon/NativeVertexFormat.h | |
| parent | 4ea694a7e403c673b457643e52435b355c96fd87 (diff) | |
| parent | ee692abbe1032e9eb888defedb1bb00f569f68a3 (diff) | |
Merge pull request #10781 from tellowkrinkle/UberVertexLoader
VideoCommon: Add dynamic vertex loader for ubershaders to reduce pipeline count
Diffstat (limited to 'Source/Core/VideoCommon/NativeVertexFormat.h')
| -rw-r--r-- | Source/Core/VideoCommon/NativeVertexFormat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/NativeVertexFormat.h b/Source/Core/VideoCommon/NativeVertexFormat.h index 55e1a40178..89f3a06db5 100644 --- a/Source/Core/VideoCommon/NativeVertexFormat.h +++ b/Source/Core/VideoCommon/NativeVertexFormat.h @@ -58,9 +58,9 @@ struct PortableVertexDeclaration int stride; AttributeFormat position; - AttributeFormat normals[3]; - AttributeFormat colors[2]; - AttributeFormat texcoords[8]; + std::array<AttributeFormat, 3> normals; + std::array<AttributeFormat, 2> colors; + std::array<AttributeFormat, 8> texcoords; AttributeFormat posmtx; inline bool operator<(const PortableVertexDeclaration& b) const |
