summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2019-09-22 02:21:56 +0200
committerFearlessTobi <thm.frey@gmail.com>2019-09-22 02:21:56 +0200
commit01fc969a5f5427f22cd8260b2e38fb4fc607265a (patch)
treeac70d7ec0396579a0a85ba275775e80d8226a493
parentfermi_2d: Lower surface copy log severity to DEBUG (diff)
downloadyuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.tar
yuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.tar.gz
yuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.tar.bz2
yuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.tar.lz
yuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.tar.xz
yuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.tar.zst
yuzu-01fc969a5f5427f22cd8260b2e38fb4fc607265a.zip
-rw-r--r--src/video_core/engines/fermi_2d.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cpp
index 20672f70e..7ff44f06d 100644
--- a/src/video_core/engines/fermi_2d.cpp
+++ b/src/video_core/engines/fermi_2d.cpp
@@ -30,7 +30,7 @@ void Fermi2D::CallMethod(const GPU::MethodCall& method_call) {
void Fermi2D::HandleSurfaceCopy() {
LOG_DEBUG(HW_GPU, "Requested a surface copy with operation {}",
- static_cast<u32>(regs.operation));
+ static_cast<u32>(regs.operation));
// TODO(Subv): Only raw copies are implemented.
ASSERT(regs.operation == Operation::SrcCopy);
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index 5b81af37f..173b76c4e 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -97,7 +97,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format
{GL_RG8, GL_RG, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // RG8U
{GL_RG8, GL_RG, GL_BYTE, ComponentType::SNorm, false}, // RG8S
{GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT, ComponentType::UInt, false}, // RG32UI
- {GL_RGB16F, GL_RGBA16, GL_HALF_FLOAT, ComponentType::Float, false}, // RGBX16F TODO
+ {GL_RGB16F, GL_RGBA16, GL_HALF_FLOAT, ComponentType::Float, false}, // RGBX16F
{GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT, ComponentType::UInt, false}, // R32UI
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_8X8
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_8X5