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
Fernando Sahmkow
d1812316e1
texture_cache: Style and Corrections
7 years ago
Fernando Sahmkow
7232a1ed16
decoders: correct block calculation
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
ReinUsesLisp
fb94871791
gl_texture_cache: Add fast copy path
7 years ago
ReinUsesLisp
bab21e8cb3
gl_texture_cache: Initial implementation
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
0ad3c031f4
gl_rasterizer_cache: Move format conversion to its own file
7 years ago
ReinUsesLisp
0ccd490fcd
decoders: Minor style changes
7 years ago
David Marcec
fdd649e2ef
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
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
Frederic Laing
7a400e2191
textures/decoders: Replace magic numbers
7 years ago
Frederic Laing
95d3965f31
textures/decoders: Minor cleanup
7 years ago
greggameplayer
c8b3f09876
Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( #1666 )
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB
( needed by Mario+Rabbids Kingdom Battle )
* Small placement correction
7 years ago
FernandoS27
aee93f98f9
Fix ASTC formats
7 years ago
Lioncash
257b7bbfee
decoders: Remove unused variable within SwizzledData()
7 years ago
FernandoS27
e0ea2f5f6e
Fixed Layered Textures Loading and Cubemaps
7 years ago
bunnei
bcde71d4d9
decoders: Introduce functions for un/swizzling subrects.
7 years ago
FernandoS27
331ce2942c
Shorten the implementation of 3D swizzle to only 3 functions
7 years ago
FernandoS27
1ff20d8538
Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBuffer
7 years ago
FernandoS27
e0ca938b22
Propagate depth and depth_block on modules using decoders
7 years ago
FernandoS27
d4ae43f9c1
Remove old Swizzle algorithms and use 3d Swizzle
7 years ago
FernandoS27
4d959c6bdc
Implement Precise 3D Swizzle
7 years ago
FernandoS27
736db284d2
Implement Fast 3D Swizzle
7 years ago
Hexagon12
cbf723896f
Added ASTC 5x4; 8x5
7 years ago
FernandoS27
97b6405a17
Implemented helper function to correctly calculate a texture's size
7 years ago
FernandoS27
57b44200a2
Reverse stride align restriction on FastSwizzle due to lost performance
7 years ago
FernandoS27
d2dd1289bd
Join both Swizzle methods within one interface function
7 years ago
FernandoS27
41c6c4593a
Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling Table instead
7 years ago
FernandoS27
f020319a45
Remove same output bpp restriction on FastSwizzle
7 years ago
FernandoS27
68aaa83836
Improved Legacy Swizzler to be better documented and work better
7 years ago
FernandoS27
bf2f2a715f
Improved fast swizzle and removed restrictions to it
7 years ago
raven02
2845348608
Implement ASTC_2D_8X8 (Bayonetta 2)
7 years ago
FernandoS27
f8e994354f
Optimized Texture Swizzling
7 years ago
greggameplayer
06578e89b2
Implement BC6H_UF16 & BC6H_SF16 ( #1092 )
* Implement BC6H_UF16 & BC6H_SF16
Require by ARMS
* correct coding style
* correct coding style part 2
7 years ago
bunnei
3a67876252
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
7 years ago
Khangaroo
5cb6eceecf
Implement BC5/DXN2 ( #996 )
- Used by Kirby Star Allies.
7 years ago
greggameplayer
fe64e1d38e
Implement RGB32F PixelFormat ( #886 ) (used by Go Vacation)
8 years ago
Unknown
4672a01cbf
Implement R16_G16
correct trailing white spaces
Delete tabs
correct placement
Add RG16F & RG16UI & RG16I & RG16S PixelFormats
Return correct data according to changes done previously
correct PixelFormat declaration
correct coding style error
correct coding style error part 2
correct RG16S Declaration error
correct alignment
8 years ago
Subv
daf2504d31
GPU: Implemented the Z32_S8_X24 depth buffer format.
8 years ago
Subv
4cc1e180ec
GPU: Implemented the R16 and R16F texture formats.
8 years ago
Subv
ccc42702b5
GPU: Implement texture format R32F.
8 years ago
bunnei
a27c0099ed
gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.
8 years ago
Lioncash
bb960c8cb4
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
bunnei
b496a9eefe
decoders: Fix calc of swizzle image_width_in_gobs.
8 years ago
bunnei
3a96670f2d
gl_rasterizer_cache: Implement texture format G8R8.
8 years ago
bunnei
e21190f47f
gl_rasterizer_cache: Implement depth format Z16_UNORM.
8 years ago