diff options
| author | 2019-04-28 01:01:22 -0300 | |
|---|---|---|
| committer | 2019-06-20 21:36:12 -0300 | |
| commit | b8c75a845b1784045a10fa8b5f1f57f2ec53eeca (patch) | |
| tree | b71f71b5d3d8c3d12556e3fbf9344dbb9e8f220c /src/video_core/renderer_opengl | |
| parent | gl_shader_decompiler: Allow 1D textures to be texture buffers (diff) | |
| download | yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.gz yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.tar.xz yuzu-b8c75a845b1784045a10fa8b5f1f57f2ec53eeca.zip | |
maxwell_3d: Partially implement texture buffers as 1D textures
Diffstat (limited to 'src/video_core/renderer_opengl')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index a7681902e..543b36271 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | |||
| @@ -140,7 +140,7 @@ std::size_t SurfaceParams::InnerMemorySize(bool force_gl, bool layer_only, | |||
| 140 | 140 | ||
| 141 | params.width = Common::AlignUp(config.tic.Width(), GetCompressionFactor(params.pixel_format)); | 141 | params.width = Common::AlignUp(config.tic.Width(), GetCompressionFactor(params.pixel_format)); |
| 142 | params.height = Common::AlignUp(config.tic.Height(), GetCompressionFactor(params.pixel_format)); | 142 | params.height = Common::AlignUp(config.tic.Height(), GetCompressionFactor(params.pixel_format)); |
| 143 | if (!params.is_tiled) { | 143 | if (config.tic.IsLineal()) { |
| 144 | params.pitch = config.tic.Pitch(); | 144 | params.pitch = config.tic.Pitch(); |
| 145 | } | 145 | } |
| 146 | params.unaligned_height = config.tic.Height(); | 146 | params.unaligned_height = config.tic.Height(); |