summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-29 19:50:02 +0200
committerbunnei <bunneidev@gmail.com>2018-04-29 22:05:17 +0200
commit316327f48730a40cab2a497dcb2d7ccb5a716bff (patch)
treed3cbb60d4be21f2d7774a40c43c82656fd472bf4 /src
parentshader_bytecode: Add decoding for FMNMX instruction. (diff)
downloadyuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.tar
yuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.tar.gz
yuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.tar.bz2
yuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.tar.lz
yuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.tar.xz
yuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.tar.zst
yuzu-316327f48730a40cab2a497dcb2d7ccb5a716bff.zip
Diffstat (limited to 'src')
-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) {
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;
}