summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_params.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-07-12 02:59:59 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-09-06 01:35:51 +0200
commit2424eefad20b018bed72a0427cdeeabb08bea7b2 (patch)
tree653458a597ab5f7a5b2594a4d5814a83907b0292 /src/video_core/texture_cache/surface_params.h
parentkepler_compute: Implement texture queries (diff)
downloadyuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.tar
yuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.tar.gz
yuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.tar.bz2
yuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.tar.lz
yuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.tar.xz
yuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.tar.zst
yuzu-2424eefad20b018bed72a0427cdeeabb08bea7b2.zip
Diffstat (limited to 'src/video_core/texture_cache/surface_params.h')
-rw-r--r--src/video_core/texture_cache/surface_params.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/texture_cache/surface_params.h b/src/video_core/texture_cache/surface_params.h
index e7ef66ee2..ee2efa594 100644
--- a/src/video_core/texture_cache/surface_params.h
+++ b/src/video_core/texture_cache/surface_params.h
@@ -23,9 +23,8 @@ using VideoCore::Surface::SurfaceCompression;
class SurfaceParams {
public:
/// Creates SurfaceCachedParams from a texture configuration.
- static SurfaceParams CreateForTexture(Core::System& system,
- const Tegra::Texture::FullTextureInfo& config,
- const VideoCommon::Shader::Sampler& entry);
+ static SurfaceParams CreateForImage(const Tegra::Texture::TICEntry& tic,
+ const VideoCommon::Shader::Sampler& entry);
/// Creates SurfaceCachedParams for a depth buffer configuration.
static SurfaceParams CreateForDepthBuffer(