diff options
| author | 2018-08-08 22:07:16 -0400 | |
|---|---|---|
| committer | 2018-08-08 23:28:17 -0400 | |
| commit | dfc3eed0cbbf86af0e4d644b8a444f6ea29a1914 (patch) | |
| tree | bcbc74446c308fcddd89aabd97c4935542cbd161 /src | |
| parent | maxwell_to_gl: Implement PrimitiveTopology::Points. (diff) | |
| download | yuzu-dfc3eed0cbbf86af0e4d644b8a444f6ea29a1914.tar.gz yuzu-dfc3eed0cbbf86af0e4d644b8a444f6ea29a1914.tar.xz yuzu-dfc3eed0cbbf86af0e4d644b8a444f6ea29a1914.zip | |
maxwell_to_gl: Implement VertexAttribute::Size::Size_16_16_16_16.
- Used by Super Mario Odyssey (in game).
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 1 |
1 files changed, 1 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 f57464981..43be69dd1 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h | |||
| @@ -31,6 +31,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { | |||
| 31 | case Maxwell::VertexAttribute::Size::Size_8_8_8_8: | 31 | case Maxwell::VertexAttribute::Size::Size_8_8_8_8: |
| 32 | return GL_UNSIGNED_BYTE; | 32 | return GL_UNSIGNED_BYTE; |
| 33 | case Maxwell::VertexAttribute::Size::Size_16_16: | 33 | case Maxwell::VertexAttribute::Size::Size_16_16: |
| 34 | case Maxwell::VertexAttribute::Size::Size_16_16_16_16: | ||
| 34 | return GL_UNSIGNED_SHORT; | 35 | return GL_UNSIGNED_SHORT; |
| 35 | case Maxwell::VertexAttribute::Size::Size_10_10_10_2: | 36 | case Maxwell::VertexAttribute::Size::Size_10_10_10_2: |
| 36 | return GL_UNSIGNED_INT_2_10_10_10_REV; | 37 | return GL_UNSIGNED_INT_2_10_10_10_REV; |