diff options
| author | 2020-02-04 21:32:08 -0300 | |
|---|---|---|
| committer | 2020-02-04 21:32:08 -0300 | |
| commit | c81c361e82cc0036e85e91026d486f14ca72e89f (patch) | |
| tree | 0e698f7496208b003419e1c5b92abe49341c0054 | |
| parent | Merge pull request #3377 from ReinUsesLisp/bitset-vk (diff) | |
| download | yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.gz yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.xz yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.zip | |
maxwell_to_gl: Reduce unimplemented formats to LOG_ERROR
| -rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index ea4f35663..81b4f33e7 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h | |||
| @@ -47,8 +47,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { | |||
| 47 | case Maxwell::VertexAttribute::Size::Size_10_10_10_2: | 47 | case Maxwell::VertexAttribute::Size::Size_10_10_10_2: |
| 48 | return GL_UNSIGNED_INT_2_10_10_10_REV; | 48 | return GL_UNSIGNED_INT_2_10_10_10_REV; |
| 49 | default: | 49 | default: |
| 50 | LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); | 50 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); |
| 51 | UNREACHABLE(); | ||
| 52 | return {}; | 51 | return {}; |
| 53 | } | 52 | } |
| 54 | case Maxwell::VertexAttribute::Type::SignedInt: | 53 | case Maxwell::VertexAttribute::Type::SignedInt: |
| @@ -72,8 +71,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { | |||
| 72 | case Maxwell::VertexAttribute::Size::Size_10_10_10_2: | 71 | case Maxwell::VertexAttribute::Size::Size_10_10_10_2: |
| 73 | return GL_INT_2_10_10_10_REV; | 72 | return GL_INT_2_10_10_10_REV; |
| 74 | default: | 73 | default: |
| 75 | LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); | 74 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); |
| 76 | UNREACHABLE(); | ||
| 77 | return {}; | 75 | return {}; |
| 78 | } | 76 | } |
| 79 | case Maxwell::VertexAttribute::Type::Float: | 77 | case Maxwell::VertexAttribute::Type::Float: |
| @@ -89,13 +87,11 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) { | |||
| 89 | case Maxwell::VertexAttribute::Size::Size_32_32_32_32: | 87 | case Maxwell::VertexAttribute::Size::Size_32_32_32_32: |
| 90 | return GL_FLOAT; | 88 | return GL_FLOAT; |
| 91 | default: | 89 | default: |
| 92 | LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); | 90 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString()); |
| 93 | UNREACHABLE(); | ||
| 94 | return {}; | 91 | return {}; |
| 95 | } | 92 | } |
| 96 | default: | 93 | default: |
| 97 | LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex type={}", attrib.TypeString()); | 94 | LOG_ERROR(Render_OpenGL, "Unimplemented vertex type={}", attrib.TypeString()); |
| 98 | UNREACHABLE(); | ||
| 99 | return {}; | 95 | return {}; |
| 100 | } | 96 | } |
| 101 | } | 97 | } |