summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-08-07 15:33:58 +0200
committerGitHub <noreply@github.com>2020-08-07 15:33:58 +0200
commit5429ea0e6903ce7a8f7d126627c802e26d76fc08 (patch)
tree326a31f9793b9e97c9816e466c4133c11dc57423 /src/video_core/texture_cache
parentMerge pull request #4464 from lioncash/format-pass (diff)
parentvideo_core: Remove redundant pixel format type (diff)
downloadyuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar
yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.gz
yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.bz2
yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.lz
yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.xz
yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.tar.zst
yuzu-5429ea0e6903ce7a8f7d126627c802e26d76fc08.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/surface_params.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp
index 9a98f0e98..e614a92df 100644
--- a/src/video_core/texture_cache/surface_params.cpp
+++ b/src/video_core/texture_cache/surface_params.cpp
@@ -96,7 +96,6 @@ SurfaceParams SurfaceParams::CreateForTexture(const FormatLookupTable& lookup_ta
}
params.type = GetFormatType(params.pixel_format);
}
- params.type = GetFormatType(params.pixel_format);
// TODO: on 1DBuffer we should use the tic info.
if (tic.IsBuffer()) {
params.target = SurfaceTarget::TextureBuffer;