summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-08-14 06:01:47 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-11-16 22:11:29 +0100
commit68e038404cc0069d9f59068a60b56e67b4321e7a (patch)
tree81b5bd2f5129d5ea38dd1f739a8a60cbb4c82bc9 /src/video_core/texture_cache
parentemit_spirv: Fix RescalingLayout alignment (diff)
downloadyuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.tar
yuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.tar.gz
yuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.tar.bz2
yuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.tar.lz
yuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.tar.xz
yuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.tar.zst
yuzu-68e038404cc0069d9f59068a60b56e67b4321e7a.zip
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache_base.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h
index 8b417b611..517a4c224 100644
--- a/src/video_core/texture_cache/texture_cache_base.h
+++ b/src/video_core/texture_cache/texture_cache_base.h
@@ -41,13 +41,9 @@ using VideoCore::Surface::PixelFormatFromRenderTargetFormat;
using namespace Common::Literals;
struct ImageViewInOut {
- u32 index;
- bool blacklist;
- union {
- struct Empty {
- } empty{};
- ImageViewId id;
- };
+ u32 index{};
+ bool blacklist{};
+ ImageViewId id{};
};
template <class P>