summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-05 01:32:08 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-05 01:32:08 +0100
commitc81c361e82cc0036e85e91026d486f14ca72e89f (patch)
tree0e698f7496208b003419e1c5b92abe49341c0054
parentMerge pull request #3377 from ReinUsesLisp/bitset-vk (diff)
downloadyuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.gz
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.bz2
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.lz
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.xz
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.tar.zst
yuzu-c81c361e82cc0036e85e91026d486f14ca72e89f.zip
-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) {
case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
return GL_UNSIGNED_INT_2_10_10_10_REV;
default:
- LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
- UNREACHABLE();
+ LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
return {};
}
case Maxwell::VertexAttribute::Type::SignedInt:
@@ -72,8 +71,7 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
case Maxwell::VertexAttribute::Size::Size_10_10_10_2:
return GL_INT_2_10_10_10_REV;
default:
- LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
- UNREACHABLE();
+ LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
return {};
}
case Maxwell::VertexAttribute::Type::Float:
@@ -89,13 +87,11 @@ inline GLenum VertexType(Maxwell::VertexAttribute attrib) {
case Maxwell::VertexAttribute::Size::Size_32_32_32_32:
return GL_FLOAT;
default:
- LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
- UNREACHABLE();
+ LOG_ERROR(Render_OpenGL, "Unimplemented vertex size={}", attrib.SizeString());
return {};
}
default:
- LOG_CRITICAL(Render_OpenGL, "Unimplemented vertex type={}", attrib.TypeString());
- UNREACHABLE();
+ LOG_ERROR(Render_OpenGL, "Unimplemented vertex type={}", attrib.TypeString());
return {};
}
}