diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-11 21:59:59 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-05 20:35:51 -0300 |
| commit | 2424eefad20b018bed72a0427cdeeabb08bea7b2 (patch) | |
| tree | 653458a597ab5f7a5b2594a4d5814a83907b0292 /src/video_core/texture_cache/surface_params.h | |
| parent | 3a450c1395cdb8b4f73687f8c49648e9190fc3a0 (diff) | |
texture_cache: Pass TIC to texture cache
Diffstat (limited to 'src/video_core/texture_cache/surface_params.h')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.h | 5 |
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( |
