Lioncash
eaeb4520f7
General: Resolve warnings related to missing declarations
6 years ago
Fernando Sahmkow
f1adfe6591
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
b62d22a77d
texture_cache: Style and Corrections
7 years ago
Fernando Sahmkow
18322c1369
decoders: correct block calculation
7 years ago
ReinUsesLisp
1d10810d2b
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
f46a979f19
gl_texture_cache: Add fast copy path
7 years ago
ReinUsesLisp
3b430b5605
gl_texture_cache: Initial implementation
7 years ago
Fernando Sahmkow
56c2b0ea86
Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators.
7 years ago
Fernando Sahmkow
15368c6070
Implement Block Linear copies in Kepler Memory.
7 years ago
bunnei
d3f26c1546
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
3989075e5f
gl_rasterizer_cache: Move format conversion to its own file
7 years ago
ReinUsesLisp
64612bf940
decoders: Minor style changes
7 years ago
David Marcec
1dfb0a513a
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
b509890e4c
Implemented Tile Width Spacing
7 years ago
Frederic L
d2dd9cfc1d
Eliminated unnessessary memory allocation and copy ( #1702 )
7 years ago
Frederic Laing
9d588877ef
textures/decoders: Replace magic numbers
7 years ago
Frederic Laing
8dcfc75e4e
textures/decoders: Minor cleanup
7 years ago
greggameplayer
ec188ec832
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
fe596b4c6e
Fix ASTC formats
7 years ago
Lioncash
a3c2defab1
decoders: Remove unused variable within SwizzledData()
7 years ago
FernandoS27
88ff802e1a
Fixed Layered Textures Loading and Cubemaps
7 years ago
bunnei
fa24c17b95
decoders: Introduce functions for un/swizzling subrects.
7 years ago
FernandoS27
39ba6950b8
Shorten the implementation of 3D swizzle to only 3 functions
7 years ago
FernandoS27
92e9faba25
Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBuffer
7 years ago
FernandoS27
1a70753709
Propagate depth and depth_block on modules using decoders
7 years ago
FernandoS27
8b1e913058
Remove old Swizzle algorithms and use 3d Swizzle
7 years ago
FernandoS27
2650e33c48
Implement Precise 3D Swizzle
7 years ago
FernandoS27
8b32bd526b
Implement Fast 3D Swizzle
7 years ago
Hexagon12
f50514b25b
Added ASTC 5x4; 8x5
7 years ago
FernandoS27
eec2311ec1
Implemented helper function to correctly calculate a texture's size
7 years ago
FernandoS27
9acd217fed
Reverse stride align restriction on FastSwizzle due to lost performance
7 years ago
FernandoS27
ec51077131
Join both Swizzle methods within one interface function
7 years ago
FernandoS27
dc98e08d51
Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling Table instead
7 years ago
FernandoS27
55543db875
Remove same output bpp restriction on FastSwizzle
7 years ago
FernandoS27
0bd735d574
Improved Legacy Swizzler to be better documented and work better
7 years ago
FernandoS27
cd00f35cc8
Improved fast swizzle and removed restrictions to it
7 years ago
raven02
13c243fcb6
Implement ASTC_2D_8X8 (Bayonetta 2)
7 years ago
FernandoS27
37224010a1
Optimized Texture Swizzling
7 years ago
greggameplayer
4146a4499c
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
1a9b133715
textures: Refactor out for Texture/Depth FormatFromPixelFormat.
7 years ago
Khangaroo
b534e67f64
Implement BC5/DXN2 ( #996 )
- Used by Kirby Star Allies.
7 years ago
greggameplayer
6abb522f98
Implement RGB32F PixelFormat ( #886 ) (used by Go Vacation)
8 years ago
Unknown
aad2bf10a8
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
b4ae8432b4
GPU: Implemented the Z32_S8_X24 depth buffer format.
8 years ago
Subv
d10cc9c548
GPU: Implemented the R16 and R16F texture formats.
8 years ago
Subv
3a80e8ab24
GPU: Implement texture format R32F.
8 years ago
bunnei
889da74c9d
gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.
8 years ago
Lioncash
bdfd46e192
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
bunnei
47a305ed54
decoders: Fix calc of swizzle image_width_in_gobs.
8 years ago
bunnei
efc5bbb9ab
gl_rasterizer_cache: Implement texture format G8R8.
8 years ago