summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-02-04 21:32:08 -0300
committerGravatar ReinUsesLisp2020-02-04 21:32:08 -0300
commitc81c361e82cc0036e85e91026d486f14ca72e89f (patch)
tree0e698f7496208b003419e1c5b92abe49341c0054 /src
parentMerge pull request #3377 from ReinUsesLisp/bitset-vk (diff)
downloadyuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.gz
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.xz
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.zip
maxwell_to_gl: Reduce unimplemented formats to LOG_ERROR
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h12
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}