diff options
| author | 2019-01-29 22:27:08 -0500 | |
|---|---|---|
| committer | 2019-01-29 22:27:08 -0500 | |
| commit | 3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de (patch) | |
| tree | 070717665992f33e27d9f6531bb01c0a24569e60 /src/video_core/surface.h | |
| parent | Merge pull request #2069 from lioncash/vi (diff) | |
| parent | gl_shader_cache: Fix texture view for cubemaps as cubemap arrays (diff) | |
| download | yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.gz yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.tar.xz yuzu-3c3d9afd61f7f8b699befc6c6c50e51a28a7a4de.zip | |
Merge pull request #2070 from ReinUsesLisp/cubearray-view
gl_shader_cache: Fix texture view for cubemaps as cubemap arrays
Diffstat (limited to 'src/video_core/surface.h')
| -rw-r--r-- | src/video_core/surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.h b/src/video_core/surface.h index c2259c3c2..edd3816ba 100644 --- a/src/video_core/surface.h +++ b/src/video_core/surface.h | |||
| @@ -441,6 +441,8 @@ SurfaceTarget SurfaceTargetFromTextureType(Tegra::Texture::TextureType texture_t | |||
| 441 | 441 | ||
| 442 | bool SurfaceTargetIsLayered(SurfaceTarget target); | 442 | bool SurfaceTargetIsLayered(SurfaceTarget target); |
| 443 | 443 | ||
| 444 | bool SurfaceTargetIsArray(SurfaceTarget target); | ||
| 445 | |||
| 444 | PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format); | 446 | PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format); |
| 445 | 447 | ||
| 446 | PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format); | 448 | PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format); |