summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index a49265b38..a630610d8 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) {
36 return {}; 36 return {};
37 } 37 }
38 38
39 case Maxwell::VertexAttribute::Type::SignedNorm: {
40
41 switch (attrib.size) {
42 case Maxwell::VertexAttribute::Size::Size_8_8_8_8:
43 return GL_BYTE;
44 }
45
46 NGLOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
47 UNREACHABLE();
48 return {};
49 }
50
39 case Maxwell::VertexAttribute::Type::Float: 51 case Maxwell::VertexAttribute::Type::Float:
40 return GL_FLOAT; 52 return GL_FLOAT;
41 } 53 }