diff options
| author | 2020-02-04 21:32:36 -0300 | |
|---|---|---|
| committer | 2020-02-04 21:32:36 -0300 | |
| commit | 8bb9eef97beff0a5835055fb3a1c0d0f44676f40 (patch) | |
| tree | 25df124d0e1082eb75f19378a65ede671c0d8601 /src | |
| parent | maxwell_to_gl: Reduce unimplemented formats to LOG_ERROR (diff) | |
| download | yuzu-8bb9eef97beff0a5835055fb3a1c0d0f44676f40.tar.gz yuzu-8bb9eef97beff0a5835055fb3a1c0d0f44676f40.tar.xz yuzu-8bb9eef97beff0a5835055fb3a1c0d0f44676f40.zip | |
maxwell_to_gl: Implement R8G8_USCALED
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 8 |
1 files changed, 8 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 81b4f33e7..7ed505628 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h | |||
| @@ -90,6 +90,14 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { | |||
| 90 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); | 90 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); |
| 91 | return {}; | 91 | return {}; |
| 92 | } | 92 | } |
| 93 | case Maxwell::VertexAttribute::Type::UnsignedScaled: | ||
| 94 | switch (attrib.size) { | ||
| 95 | case Maxwell::VertexAttribute::Size::Size_8_8: | ||
| 96 | return GL_UNSIGNED_BYTE; | ||
| 97 | default: | ||
| 98 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); | ||
| 99 | return {}; | ||
| 100 | } | ||
| 93 | default: | 101 | default: |
| 94 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex type={}", attrib.TypeString()); | 102 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex type={}", attrib.TypeString()); |
| 95 | return {}; | 103 | return {}; |