diff options
| author | 2019-05-21 12:48:28 -0400 | |
|---|---|---|
| committer | 2019-06-20 21:38:33 -0300 | |
| commit | ea1525dab1bf7e9e56471b6d5fd50014bfeb4f96 (patch) | |
| tree | a44c1ad2957fa0f0239c59b3447e6f574063992a /src/video_core/texture_cache | |
| parent | texture_cache: Handle uncontinuous surfaces. (diff) | |
| download | yuzu-ea1525dab1bf7e9e56471b6d5fd50014bfeb4f96.tar.gz yuzu-ea1525dab1bf7e9e56471b6d5fd50014bfeb4f96.tar.xz yuzu-ea1525dab1bf7e9e56471b6d5fd50014bfeb4f96.zip | |
Fix rebase errors
Diffstat (limited to 'src/video_core/texture_cache')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_params.h b/src/video_core/texture_cache/surface_params.h index 13a08a60f..d9aa0b521 100644 --- a/src/video_core/texture_cache/surface_params.h +++ b/src/video_core/texture_cache/surface_params.h | |||
| @@ -167,6 +167,10 @@ public: | |||
| 167 | return VideoCore::Surface::GetFormatCompressionType(pixel_format); | 167 | return VideoCore::Surface::GetFormatCompressionType(pixel_format); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | bool IsBuffer() const { | ||
| 171 | return target == VideoCore::Surface::SurfaceTarget::TextureBuffer; | ||
| 172 | } | ||
| 173 | |||
| 170 | std::string TargetName() const; | 174 | std::string TargetName() const; |
| 171 | 175 | ||
| 172 | bool is_tiled; | 176 | bool is_tiled; |