summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp
diff options
context:
space:
mode:
authorRobin Kertels <robin.kertels@gmail.com>2022-09-14 23:58:09 +0200
committerRobin Kertels <robin.kertels@gmail.com>2022-09-15 12:50:15 +0200
commitfdcd2b7d009cece6ad090143ce954aed713bb11c (patch)
tree154700f25bd6b93492990b10be75feb57608c57a /Source/Core/VideoCommon/VertexLoader_TextCoord.cpp
parent8aa214453a92e34e31c8a6d64c9b20c15148f132 (diff)
VertexLoader: Inline GetSize
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader_TextCoord.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoader_TextCoord.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp b/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp
index 89891df5a8..8b2bbf5560 100644
--- a/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp
+++ b/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp
@@ -127,45 +127,8 @@ constexpr Table<TPipelineFunction> s_table_read_tex_coord = {
e(TexCoord_ReadIndex<u16, float, 1>, TexCoord_ReadIndex<u16, float, 2>),
}),
};
-
-constexpr Table<u32> s_table_read_tex_coord_vertex_size = {
- g({
- e(0u, 0u),
- e(0u, 0u),
- e(0u, 0u),
- e(0u, 0u),
- e(0u, 0u),
- }),
- g({
- e(1, 2),
- e(1, 2),
- e(2, 4),
- e(2, 4),
- e(4, 8),
- }),
- g({
- e(1, 1),
- e(1, 1),
- e(1, 1),
- e(1, 1),
- e(1, 1),
- }),
- g({
- e(2, 2),
- e(2, 2),
- e(2, 2),
- e(2, 2),
- e(2, 2),
- }),
-};
} // Anonymous namespace
-u32 VertexLoader_TextCoord::GetSize(VertexComponentFormat type, ComponentFormat format,
- TexComponentCount elements)
-{
- return s_table_read_tex_coord_vertex_size[type][format][elements];
-}
-
TPipelineFunction VertexLoader_TextCoord::GetFunction(VertexComponentFormat type,
ComponentFormat format,
TexComponentCount elements)