VERY experimental Nintendo Switch 2 emulator
C++
maxwell_to_gl: Implement type SignedNorm, Size_8_8_8_8.
bunneid01e76720dfb
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.hindex a49265b38f..a630610d80 100644--- a/src/video_core/renderer_opengl/maxwell_to_gl.h+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h@@ -36,6 +36,18 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {return {};}+ case Maxwell::VertexAttribute::Type::SignedNorm: {++ switch (attrib.size) {+ case Maxwell::VertexAttribute::Size::Size_8_8_8_8:+ return GL_BYTE;+ }++ NGLOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());+ UNREACHABLE();+ return {};+ }+case Maxwell::VertexAttribute::Type::Float:return GL_FLOAT;}