summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-10 21:57:28 +0200
committerGitHub <noreply@github.com>2018-08-10 21:57:28 +0200
commit2e8620c877dae8b8f13d68feccfc6c53f5885dad (patch)
tree4b6c19beeef5bf2d69feeda0c9b1980e55d8333c
parentMerge pull request #1004 from lioncash/unused (diff)
parentmaxwell_to_gl: Implement VertexAttribute::Size::Size_8_8. (diff)
downloadyuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.tar
yuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.tar.gz
yuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.tar.bz2
yuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.tar.lz
yuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.tar.xz
yuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.tar.zst
yuzu-2e8620c877dae8b8f13d68feccfc6c53f5885dad.zip
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h3
1 files changed, 3 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 43be69dd1..c439446b1 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -45,6 +45,9 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
case Maxwell::VertexAttribute::Type::SignedNorm: {
switch (attrib.size) {
+ case Maxwell::VertexAttribute::Size::Size_32_32_32:
+ return GL_INT;
+ case Maxwell::VertexAttribute::Size::Size_8_8:
case Maxwell::VertexAttribute::Size::Size_8_8_8_8:
return GL_BYTE;
case Maxwell::VertexAttribute::Size::Size_16_16: