summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-08-21 03:44:56 +0200
committerSubv <subv2112@gmail.com>2018-08-21 03:44:56 +0200
commitfc5b489b0f6db5bfb6b04c50071b161fed6bf7fa (patch)
tree567e6d3e32b69f5896f3e5ad93111a1fd828b2f7 /src
parentMerge pull request #1064 from lioncash/telemetry (diff)
downloadyuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.tar
yuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.tar.gz
yuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.tar.bz2
yuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.tar.lz
yuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.tar.xz
yuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.tar.zst
yuzu-fc5b489b0f6db5bfb6b04c50071b161fed6bf7fa.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index ac6ccfec7..c8ff1cdf5 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1526,7 +1526,9 @@ private:
break;
}
default:
- UNIMPLEMENTED();
+ LOG_CRITICAL(HW_GPU, "Unhandled texture type {}",
+ static_cast<u32>(instr.tex.texture_type.Value()));
+ UNREACHABLE();
}
const std::string sampler =
@@ -1576,7 +1578,9 @@ private:
break;
}
default:
- UNIMPLEMENTED();
+ LOG_CRITICAL(HW_GPU, "Unhandled texture type {}",
+ static_cast<u32>(instr.texs.GetTextureType()));
+ UNREACHABLE();
}
const std::string sampler = GetSampler(instr.sampler, instr.texs.GetTextureType(),
instr.texs.IsArrayTexture());
@@ -1593,7 +1597,8 @@ private:
switch (instr.tlds.GetTextureType()) {
case Tegra::Shader::TextureType::Texture2D: {
if (instr.tlds.IsArrayTexture()) {
- UNIMPLEMENTED();
+ LOG_CRITICAL(HW_GPU, "Unhandled 2d array texture");
+ UNREACHABLE();
} else {
std::string x = regs.GetRegisterAsInteger(instr.gpr8);
std::string y = regs.GetRegisterAsInteger(instr.gpr20);
@@ -1602,7 +1607,9 @@ private:
break;
}
default:
- UNIMPLEMENTED();
+ LOG_CRITICAL(HW_GPU, "Unhandled texture type {}",
+ static_cast<u32>(instr.tlds.GetTextureType()));
+ UNREACHABLE();
}
const std::string sampler = GetSampler(instr.sampler, instr.tlds.GetTextureType(),
instr.tlds.IsArrayTexture());
@@ -1623,7 +1630,9 @@ private:
break;
}
default:
- UNIMPLEMENTED();
+ LOG_CRITICAL(HW_GPU, "Unhandled texture type {}",
+ static_cast<u32>(instr.tld4.texture_type.Value()));
+ UNREACHABLE();
}
const std::string sampler =