diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-13 09:46:36 -0400 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-20 21:38:34 -0300 |
| commit | 2d83553ea7ab2629e7e1a83cc3345c0115d69453 (patch) | |
| tree | 95b51806a042ff95aa9bd857dd659d16a7fa02de /src/video_core/texture_cache/surface_base.h | |
| parent | cb728797b0cec79d756ba9395d24924882222103 (diff) | |
texture_cache: Implement siblings texture formats.
Diffstat (limited to 'src/video_core/texture_cache/surface_base.h')
| -rw-r--r-- | src/video_core/texture_cache/surface_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_base.h b/src/video_core/texture_cache/surface_base.h index 9d19ecd5f..58265e9d3 100644 --- a/src/video_core/texture_cache/surface_base.h +++ b/src/video_core/texture_cache/surface_base.h @@ -132,6 +132,10 @@ public: return params.pixel_format == pixel_format; } + VideoCore::Surface::PixelFormat GetFormat() const { + return params.pixel_format; + } + bool MatchTarget(VideoCore::Surface::SurfaceTarget target) const { return params.target == target; } |
