diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-08 20:34:55 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-10 03:14:32 +0200 |
commit | af653906d0cf38556acae1f8e5d3f8968ff7074a (patch) | |
tree | 55197afb627984e1756a885a9c4df9b0091d923c /src/video_core/renderer_opengl/gl_rasterizer_cache.h | |
parent | Merge pull request #1423 from DarkLordZach/romfs-file-exts (diff) | |
download | yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.tar yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.tar.gz yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.tar.bz2 yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.tar.lz yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.tar.xz yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.tar.zst yuzu-af653906d0cf38556acae1f8e5d3f8968ff7074a.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 0b4940b3c..542886a6f 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -718,7 +718,8 @@ struct SurfaceParams { /// Creates SurfaceParams for a depth buffer configuration static SurfaceParams CreateForDepthBuffer(u32 zeta_width, u32 zeta_height, Tegra::GPUVAddr zeta_address, - Tegra::DepthFormat format); + Tegra::DepthFormat format, u32 block_width, + u32 block_height, u32 block_depth); /// Creates SurfaceParams for a Fermi2D surface copy static SurfaceParams CreateForFermiCopySurface( @@ -733,7 +734,9 @@ struct SurfaceParams { VAddr addr; bool is_tiled; + u32 block_width; u32 block_height; + u32 block_depth; PixelFormat pixel_format; ComponentType component_type; SurfaceType type; |