Fernando Sahmkow
a452ff983d
MaxwellDMA: Fixes, corrections and relaxations.
This commit fixes offsets on Linear -> Tiled copies, corrects z pos
fortiled->linear copies, corrects bytes_per_pixel calculation in tiled
-> linear copies and relaxes some limitations set by latest dma fixes
refactors.
7 years ago
ReinUsesLisp
345e73f2fe
video_core: Use un-shifted block sizes to avoid integer divisions
Instead of storing all block width, height and depths in their shifted
form:
block_width = 1U << block_shift;
Store them like they are provided by the emulated hardware (their
block_shift form). This way we can avoid doing the costly
Common::AlignUp operation to align texture sizes and drop CPU integer
divisions with bitwise logic (defined in Common::AlignBits).
7 years ago
Fernando Sahmkow
da91e6e4b6
Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
7 years ago
Fernando Sahmkow
bec28d692d
Implement Block Linear copies in Kepler Memory.
7 years ago
bunnei
574e89d924
video_core: Refactor to use MemoryManager interface for all memory access.
# Conflicts:
# src/video_core/engines/kepler_memory.cpp
# src/video_core/engines/maxwell_3d.cpp
# src/video_core/morton.cpp
# src/video_core/morton.h
# src/video_core/renderer_opengl/gl_global_cache.cpp
# src/video_core/renderer_opengl/gl_global_cache.h
# src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
7 years ago
ReinUsesLisp
0ccd490fcd
decoders: Minor style changes
7 years ago
FernandoS27
ddfbe0b58d
Implemented Tile Width Spacing
7 years ago
Frederic L
11a1442229
Eliminated unnessessary memory allocation and copy ( #1702 )
7 years ago
FernandoS27
aee93f98f9
Fix ASTC formats
7 years ago
FernandoS27
f0e902a7d6
Fixed mipmap block autosizing algorithm
7 years ago
bunnei
bcde71d4d9
decoders: Introduce functions for un/swizzling subrects.
7 years ago
FernandoS27
e0ca938b22
Propagate depth and depth_block on modules using decoders
7 years ago
FernandoS27
97b6405a17
Implemented helper function to correctly calculate a texture's size
7 years ago
bunnei
3a67876252
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
8 years ago
Lioncash
bb960c8cb4
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
Subv
0f929762b3
GPU: Implemented the Z24S8 depth format and load the depth framebuffer.
8 years ago
Subv
1dd4861d38
GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.
8 years ago
Subv
6b63aaa5b4
GPU: Allow using a configurable block height when unswizzling textures.
8 years ago
Subv
1b8d798835
GPU: Added a method to unswizzle a texture without decoding it.
Allow unswizzling of DXT1 textures.
8 years ago
Subv
71ebc3e90d
GPU: Preliminary work for texture decoding.
8 years ago