Browse Source
Merge pull request #980 from bunnei/fix-logs
renderer_opengl: Use trace log in a few places.
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
src/video_core/renderer_opengl/gl_rasterizer.cpp
-
src/video_core/renderer_opengl/renderer_opengl.cpp
|
|
|
@ -161,7 +161,7 @@ std::pair<u8*, GLintptr> RasterizerOpenGL::SetupVertexArrays(u8* array_ptr, |
|
|
|
// assume every shader uses them all.
|
|
|
|
for (unsigned index = 0; index < 16; ++index) { |
|
|
|
auto& attrib = regs.vertex_attrib_format[index]; |
|
|
|
LOG_DEBUG(HW_GPU, "vertex attrib {}, count={}, size={}, type={}, offset={}, normalize={}", |
|
|
|
LOG_TRACE(HW_GPU, "vertex attrib {}, count={}, size={}, type={}, offset={}, normalize={}", |
|
|
|
index, attrib.ComponentCount(), attrib.SizeString(), attrib.TypeString(), |
|
|
|
attrib.offset.Value(), attrib.IsNormalized()); |
|
|
|
|
|
|
|
|
|
|
|
@ -430,7 +430,7 @@ static void APIENTRY DebugHandler(GLenum source, GLenum type, GLuint id, GLenum |
|
|
|
break; |
|
|
|
case GL_DEBUG_SEVERITY_NOTIFICATION: |
|
|
|
case GL_DEBUG_SEVERITY_LOW: |
|
|
|
LOG_DEBUG(Render_OpenGL, format, str_source, str_type, id, message); |
|
|
|
LOG_TRACE(Render_OpenGL, format, str_source, str_type, id, message); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|