diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-07-12 02:01:27 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-05 20:35:51 -0300 |
| commit | 0c8851163d5cd35d99d5f1ede6b8b550dda60cbf (patch) | |
| tree | e9d6260d49ef69db4c5525d176a202892594acc7 /src/video_core/texture_cache/surface_params.h | |
| parent | 714bd740bbd99f2f2bb8b775a01cf20ed1a2ca05 (diff) | |
gl_rasterizer: Implement image bindings
Diffstat (limited to 'src/video_core/texture_cache/surface_params.h')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_params.h b/src/video_core/texture_cache/surface_params.h index ee2efa5941..1011a4d8e7 100644 --- a/src/video_core/texture_cache/surface_params.h +++ b/src/video_core/texture_cache/surface_params.h @@ -23,8 +23,12 @@ using VideoCore::Surface::SurfaceCompression; class SurfaceParams { public: /// Creates SurfaceCachedParams from a texture configuration. + static SurfaceParams CreateForTexture(const Tegra::Texture::TICEntry& tic, + const VideoCommon::Shader::Sampler& entry); + + /// Creates SurfaceCachedParams from an image configuration. static SurfaceParams CreateForImage(const Tegra::Texture::TICEntry& tic, - const VideoCommon::Shader::Sampler& entry); + const VideoCommon::Shader::Image& entry); /// Creates SurfaceCachedParams for a depth buffer configuration. static SurfaceParams CreateForDepthBuffer( |
