Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | video_core/textures/decoders: Avoid SWIZZLE_TABLE | Merry | 2022-08-09 | 1 | -15/+45 |
| | |||||
* | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 2022-06-14 | 1 | -4/+4 |
| | |||||
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 1 | -3/+2 |
| | | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | ||||
* | video_core: Reduce unused includes | ameerj | 2022-03-19 | 1 | -2/+0 |
| | |||||
* | Merge pull request #6879 from ameerj/decoder-assert | bunnei | 2021-08-31 | 1 | -8/+0 |
|\ | | | | | vk_blit_screen: Fix non-accelerated texture size calculation | ||||
| * | vk_blit_screen: Fix non-accelerated texture size calculation | ameerj | 2021-08-16 | 1 | -8/+0 |
| | | | | | | | | Addresses the potential OOB access in UnswizzleTexture. | ||||
* | | decoders: Templates allow memcpy optimizations | yzct12345 | 2021-08-12 | 1 | -57/+116 |
|/ | |||||
* | decoders: Optimize swizzle copy performance (#6790) | yzct12345 | 2021-08-02 | 1 | -9/+43 |
| | | | This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding. | ||||
* | decoders: Break instead of continue | lat9nq | 2021-06-04 | 1 | -2/+2 |
| | | | | continue causes a memory leak in A Hat in Time. | ||||
* | decoders: Avoid out-of-bounds access | lat9nq | 2021-06-04 | 1 | -0/+8 |
| | | | | This is not a real fix, so assert here and continue before crashing. | ||||
* | renderer_vulkan: Accelerate ASTC decoding | ameerj | 2021-03-13 | 1 | -23/+0 |
| | | | | Co-Authored-By: Rodrigo Locatti <reinuseslisp@airmail.cc> | ||||
* | common/alignment: Rename AlignBits to AlignUpLog2 | ReinUsesLisp | 2021-01-15 | 1 | -4/+4 |
| | | | | AlignUpLog2 describes what the function does better than AlignBits. | ||||
* | video_core: Rewrite the texture cache | ReinUsesLisp | 2020-12-30 | 1 | -171/+78 |
| | | | | | | | | | | | | | | The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues. | ||||
* | textures/decoders: Fix block linear to pitch copies | ReinUsesLisp | 2020-08-11 | 1 | -18/+24 |
| | | | | | | | | | | | | There were two issues with block linear copies. First the swizzling was wrong and this commit reimplements them. The other issue was that these copies are generally used to download render targets from the GPU and yuzu was not downloading them from host GPU memory unless the extreme GPU accuracy setting was selected. This commit enables cached memory reads for all accuracy levels. - Fixes level thumbnails in Super Mario Maker 2. | ||||
* | Merge pull request #4324 from ReinUsesLisp/formats | bunnei | 2020-07-21 | 1 | -89/+0 |
|\ | | | | | video_core: Fix, add and rename pixel formats | ||||
| * | video_core: Rearrange pixel format names | ReinUsesLisp | 2020-07-13 | 1 | -89/+0 |
| | | | | | | | | | | | | Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs. | ||||
* | | video_core/textures: Add and use SwizzleSliceToVoxel, and minor style changes | ReinUsesLisp | 2020-07-10 | 1 | -57/+77 |
|/ | | | | | | | Change GOB sizes from free-functions to constexpr constants. Add SwizzleSliceToVoxel, a function that swizzles a 2D array of pixels into a 3D texture and use it for 3D copies. | ||||
* | MaxwellDMA: Optimize micro copies. | Fernando Sahmkow | 2020-04-28 | 1 | -0/+14 |
| | |||||
* | General: Resolve warnings related to missing declarations | Lioncash | 2020-04-17 | 1 | -0/+3 |
| | |||||
* | MaxwellDMA: Fixes, corrections and relaxations. | Fernando Sahmkow | 2019-07-26 | 1 | -6/+8 |
| | | | | | | | 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. | ||||
* | texture_cache: Style and Corrections | Fernando Sahmkow | 2019-06-21 | 1 | -3/+4 |
| | |||||
* | decoders: correct block calculation | Fernando Sahmkow | 2019-06-21 | 1 | -19/+15 |
| | |||||
* | video_core: Use un-shifted block sizes to avoid integer divisions | ReinUsesLisp | 2019-06-21 | 1 | -20/+35 |
| | | | | | | | | | | | | 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). | ||||
* | gl_texture_cache: Add fast copy path | ReinUsesLisp | 2019-06-21 | 1 | -2/+1 |
| | |||||
* | gl_texture_cache: Initial implementation | ReinUsesLisp | 2019-06-21 | 1 | -1/+2 |
| | |||||
* | Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators. | Fernando Sahmkow | 2019-04-16 | 1 | -7/+9 |
| | |||||
* | Implement Block Linear copies in Kepler Memory. | Fernando Sahmkow | 2019-04-16 | 1 | -0/+21 |
| | |||||
* | video_core: Refactor to use MemoryManager interface for all memory access. | bunnei | 2019-03-16 | 1 | -17/+15 |
| | | | | | | | | | | | # 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 | ||||
* | gl_rasterizer_cache: Move format conversion to its own file | ReinUsesLisp | 2019-02-27 | 1 | -1/+1 |
| | |||||
* | decoders: Minor style changes | ReinUsesLisp | 2019-02-27 | 1 | -2/+2 |
| | |||||
* | Fixed uninitialized memory due to missing returns in canary | David Marcec | 2018-12-19 | 1 | -1/+1 |
| | | | | Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used. | ||||
* | Implemented Tile Width Spacing | FernandoS27 | 2018-11-26 | 1 | -9/+13 |
| | |||||
* | Merge pull request #1717 from FreddyFunk/swizzle-gob | bunnei | 2018-11-19 | 1 | -37/+33 |
|\ | | | | | textures/decoders: Replace magic numbers | ||||
| * | textures/decoders: Replace magic numbers | Frederic Laing | 2018-11-17 | 1 | -37/+33 |
| | | |||||
* | | Eliminated unnessessary memory allocation and copy (#1702) | Frederic L | 2018-11-19 | 1 | -4/+11 |
|/ | |||||
* | textures/decoders: Minor cleanup | Frederic Laing | 2018-11-15 | 1 | -16/+16 |
| | |||||
* | Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666) | greggameplayer | 2018-11-13 | 1 | -0/+4 |
| | | | | | | | * Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( needed by Mario+Rabbids Kingdom Battle ) * Small placement correction | ||||
* | Fix ASTC formats | FernandoS27 | 2018-11-01 | 1 | -5/+7 |
| | |||||
* | Merge pull request #1524 from FernandoS27/layers-fix | bunnei | 2018-10-25 | 1 | -3/+3 |
|\ | | | | | rasterizer: Fix Layered Textures Loading and Cubemaps | ||||
| * | Fixed Layered Textures Loading and Cubemaps | FernandoS27 | 2018-10-23 | 1 | -3/+3 |
| | | |||||
* | | decoders: Remove unused variable within SwizzledData() | Lioncash | 2018-10-24 | 1 | -1/+0 |
|/ | |||||
* | decoders: Introduce functions for un/swizzling subrects. | bunnei | 2018-10-19 | 1 | -0/+40 |
| | |||||
* | Merge pull request #1488 from Hexagon12/astc-types | bunnei | 2018-10-14 | 1 | -0/+2 |
|\ | | | | | video_core: Added ASTC 5x4; 8x5 types | ||||
| * | Added ASTC 5x4; 8x5 | Hexagon12 | 2018-10-13 | 1 | -0/+2 |
| | | |||||
* | | Shorten the implementation of 3D swizzle to only 3 functions | FernandoS27 | 2018-10-14 | 1 | -70/+27 |
| | | |||||
* | | Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBuffer | FernandoS27 | 2018-10-13 | 1 | -1/+1 |
| | | |||||
* | | Propagate depth and depth_block on modules using decoders | FernandoS27 | 2018-10-13 | 1 | -19/+21 |
| | | |||||
* | | Remove old Swizzle algorithms and use 3d Swizzle | FernandoS27 | 2018-10-13 | 1 | -93/+69 |
| | | |||||
* | | Implement Precise 3D Swizzle | FernandoS27 | 2018-10-13 | 1 | -3/+71 |
| | | |||||
* | | Implement Fast 3D Swizzle | FernandoS27 | 2018-10-13 | 1 | -2/+74 |
| | | |||||
* | | Implemented helper function to correctly calculate a texture's size | FernandoS27 | 2018-10-12 | 1 | -0/+16 |
|/ | |||||
* | Reverse stride align restriction on FastSwizzle due to lost performance | FernandoS27 | 2018-09-21 | 1 | -3/+2 |
| | |||||
* | Join both Swizzle methods within one interface function | FernandoS27 | 2018-09-21 | 1 | -11/+19 |
| | |||||
* | Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling Table instead | FernandoS27 | 2018-09-21 | 1 | -42/+38 |
| | |||||
* | Remove same output bpp restriction on FastSwizzle | FernandoS27 | 2018-09-21 | 1 | -4/+5 |
| | |||||
* | Improved Legacy Swizzler to be better documented and work better | FernandoS27 | 2018-09-21 | 1 | -15/+21 |
| | |||||
* | Improved fast swizzle and removed restrictions to it | FernandoS27 | 2018-09-21 | 1 | -7/+12 |
| | |||||
* | Merge pull request #1311 from FernandoS27/fast-swizzle | bunnei | 2018-09-17 | 1 | -2/+49 |
|\ | | | | | Optimized Texture Swizzling | ||||
| * | Optimized Texture Swizzling | FernandoS27 | 2018-09-14 | 1 | -2/+49 |
| | | |||||
* | | Implement ASTC_2D_8X8 (Bayonetta 2) | raven02 | 2018-09-16 | 1 | -0/+2 |
|/ | |||||
* | Implement BC6H_UF16 & BC6H_SF16 (#1092) | greggameplayer | 2018-08-31 | 1 | -0/+4 |
| | | | | | | | | | * Implement BC6H_UF16 & BC6H_SF16 Require by ARMS * correct coding style * correct coding style part 2 | ||||
* | textures: Refactor out for Texture/Depth FormatFromPixelFormat. | bunnei | 2018-08-10 | 1 | -81/+4 |
| | |||||
* | Implement BC5/DXN2 (#996) | Khangaroo | 2018-08-09 | 1 | -0/+3 |
| | | | - Used by Kirby Star Allies. | ||||
* | Implement RGB32F PixelFormat (#886) (used by Go Vacation) | greggameplayer | 2018-08-02 | 1 | -0/+4 |
| | |||||
* | Implement R16_G16 | Unknown | 2018-07-26 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | GPU: Implemented the Z32_S8_X24 depth buffer format. | Subv | 2018-07-25 | 1 | -0/+3 |
| | |||||
* | GPU: Implemented the R16 and R16F texture formats. | Subv | 2018-07-24 | 1 | -0/+3 |
| | |||||
* | GPU: Implement texture format R32F. | Subv | 2018-07-24 | 1 | -0/+3 |
| | |||||
* | gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT. | bunnei | 2018-07-24 | 1 | -0/+4 |
| | |||||
* | video_core: Use nested namespaces where applicable | Lioncash | 2018-07-21 | 1 | -4/+2 |
| | | | | Compresses a few namespace specifiers to be more compact. | ||||
* | decoders: Fix calc of swizzle image_width_in_gobs. | bunnei | 2018-07-19 | 1 | -1/+4 |
| | |||||
* | gl_rasterizer_cache: Implement texture format G8R8. | bunnei | 2018-07-15 | 1 | -0/+3 |
| | |||||
* | gl_rasterizer_cache: Implement depth format Z16_UNORM. | bunnei | 2018-07-15 | 1 | -0/+3 |
| | |||||
* | GPU: Implemented the BC7U texture format. | Subv | 2018-07-07 | 1 | -0/+3 |
| | | | | Note: Our version of glad exports GL_COMPRESSED_RGBA_BPTC_UNORM as GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, maybe it's time we update it. | ||||
* | GPU: Implemented the 32 bit float depth buffer format. | Subv | 2018-07-04 | 1 | -0/+2 |
| | |||||
* | gl_rasterizer_cache: Implement PixelFormat S8Z24. | bunnei | 2018-07-03 | 1 | -0/+2 |
| | |||||
* | GPU: Implemented the Z24S8 depth format and load the depth framebuffer. | Subv | 2018-07-02 | 1 | -0/+31 |
| | |||||
* | GPU: Implemented the RGBA32_UINT rendertarget format. | Subv | 2018-06-30 | 1 | -0/+4 |
| | |||||
* | gl_rasterizer: Implement texture format ASTC_2D_4X4. | bunnei | 2018-06-18 | 1 | -0/+3 |
| | |||||
* | GPU: Implemented the R11FG11FB10F texture and rendertarget formats. | Subv | 2018-06-06 | 1 | -0/+3 |
| | |||||
* | GPU: Implemented the DXN1 (BC4) texture format. | Subv | 2018-06-02 | 1 | -1/+5 |
| | |||||
* | gl_rasterizer_cache: Implement PixelFormat RGBA16F. | bunnei | 2018-05-31 | 1 | -0/+3 |
| | |||||
* | GPU: Implemented the R8 texture format (0x1D) | Subv | 2018-05-30 | 1 | -0/+4 |
| | |||||
* | GPU: Implemented the A1B5G5R5 texture format (0x14) | Subv | 2018-05-27 | 1 | -0/+3 |
| | |||||
* | GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file. | Subv | 2018-04-25 | 1 | -3/+2 |
| | |||||
* | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 2018-04-25 | 1 | -0/+1 |
| | |||||
* | GPU: Implement the A2BGR10 texture format. | Subv | 2018-04-22 | 1 | -0/+3 |
| | |||||
* | GPU: Add support for the DXT23 and DXT45 compressed texture formats. | Subv | 2018-04-19 | 1 | -1/+9 |
| | |||||
* | GPU: Implemented the B5G6R5 format. | Subv | 2018-04-19 | 1 | -0/+4 |
| | |||||
* | GPU: Allow using a configurable block height when unswizzling textures. | Subv | 2018-04-18 | 1 | -5/+4 |
| | |||||
* | Frontend: Updated the surface view debug widget to work with Maxwell surfaces. | Subv | 2018-03-24 | 1 | -0/+11 |
| | |||||
* | GPU: Added a method to unswizzle a texture without decoding it. | Subv | 2018-03-24 | 1 | -2/+82 |
| | | | | Allow unswizzling of DXT1 textures. | ||||
* | GPU: Preliminary work for texture decoding. | Subv | 2018-03-24 | 1 | -0/+14 |