summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/maxwell_to_gl.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-06-29 17:48:38 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-06-29 17:48:38 +0200
commit10eca7f651d0dc407c7c4076d11e0b960d9dedd4 (patch)
tree9fd6821a2d6215c98d549ccb0d76eb9fbc07b057 /src/video_core/renderer_opengl/maxwell_to_gl.h
parentmaxwell_to_vk: Reorder vertex formats and add A2B10G10R10 for all types except float (diff)
downloadyuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.tar
yuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.tar.gz
yuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.tar.bz2
yuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.tar.lz
yuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.tar.xz
yuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.tar.zst
yuzu-10eca7f651d0dc407c7c4076d11e0b960d9dedd4.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index 8f3871e90..774e70a5b 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -24,7 +24,7 @@ namespace MaxwellToGL {
using Maxwell = Tegra::Engines::Maxwell3D::Regs;
-inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
+inline GLenum VertexFormat(Maxwell::VertexAttribute attrib) {
switch (attrib.type) {
case Maxwell::VertexAttribute::Type::UnsignedNorm:
case Maxwell::VertexAttribute::Type::UnsignedScaled:
@@ -87,7 +87,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
}
break;
}
- UNIMPLEMENTED_MSG("Unimplemented vertex type={} and size={}", attrib.TypeString(),
+ UNIMPLEMENTED_MSG("Unimplemented vertex format of type={} and size={}", attrib.TypeString(),
attrib.SizeString());
return {};
}