summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-08-21 07:07:56 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-08-21 07:16:40 +0200
commit8ad7268c75b693a3049e854aa0262af8bfda7d21 (patch)
tree016bde36819306e0b75057b3d9743a2ddf687049 /src/video_core/gpu.cpp
parentgpu: Change optional<reference_wrapper<T>> to T* for FramebufferConfig (diff)
downloadyuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.tar
yuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.tar.gz
yuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.tar.bz2
yuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.tar.lz
yuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.tar.xz
yuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.tar.zst
yuzu-8ad7268c75b693a3049e854aa0262af8bfda7d21.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 1622332a4..3006d8059 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -17,18 +17,6 @@
namespace Tegra {
-u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
- switch (format) {
- case PixelFormat::ABGR8:
- case PixelFormat::BGRA8:
- return 4;
- default:
- return 4;
- }
-
- UNREACHABLE();
-}
-
GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer, bool is_async)
: system{system}, renderer{renderer}, is_async{is_async} {
auto& rasterizer{renderer.Rasterizer()};