Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | video_core: Use un-shifted block sizes to avoid integer divisions | ReinUsesLisp | 2019-06-21 | 3 | -28/+40 |
| | | | | | | | | | | | | 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 |
| | |||||
* | maxwell_to_gl: Use GL_CLAMP to emulate Clamp wrap mode | ReinUsesLisp | 2019-05-30 | 1 | -1/+1 |
| | |||||
* | video_core/textures/astc: Remove unused variables | Lioncash | 2019-05-10 | 1 | -6/+2 |
| | | | | Silences a few compilation warnings. | ||||
* | Fix Layered ASTC Textures | Fernando Sahmkow | 2019-05-01 | 1 | -1/+3 |
| | | | | By adding the missing layer offset in ASTC compression. | ||||
* | Apply Const correctness to SwizzleKepler and replace u32 for size_t on iterators. | Fernando Sahmkow | 2019-04-16 | 2 | -9/+12 |
| | |||||
* | Implement Block Linear copies in Kepler Memory. | Fernando Sahmkow | 2019-04-16 | 2 | -0/+24 |
| | |||||
* | video_core/textures/convert: Replace include with a forward declaration | Lioncash | 2019-04-06 | 2 | -1/+5 |
| | | | | Avoids dragging in a direct dependency in a header. | ||||
* | video_core/texures/texture: Remove unnecessary includes | Lioncash | 2019-04-06 | 1 | -2/+0 |
| | | | | | | Nothing in this header relies on common_funcs or the memory manager. This gets rid of reliance on indirect inclusions in the OpenGL caches. | ||||
* | video_core: Refactor to use MemoryManager interface for all memory access. | bunnei | 2019-03-16 | 2 | -24/+21 |
| | | | | | | | | | | | # 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 | ||||
* | Merge pull request #2229 from ReinUsesLisp/vk-sampler-cache | bunnei | 2019-03-15 | 1 | -24/+29 |
|\ | | | | | vk_sampler_cache: Implement a sampler cache | ||||
| * | vk_sampler_cache: Implement a sampler cache | ReinUsesLisp | 2019-03-13 | 1 | -1/+1 |
| | | |||||
| * | video_core/texture: Add a raw representation of TSCEntry | ReinUsesLisp | 2019-03-12 | 1 | -24/+29 |
| | | |||||
* | | video_core/texture: Fix up sampler lod bias | ReinUsesLisp | 2019-03-13 | 1 | -1/+1 |
|/ | |||||
* | gl_rasterizer: Encapsulate sampler queries into methods | ReinUsesLisp | 2019-03-09 | 1 | -5/+29 |
| | |||||
* | gl_rasterizer_cache: Move format conversion to its own file | ReinUsesLisp | 2019-02-27 | 5 | -34/+160 |
| | |||||
* | decoders: Minor style changes | ReinUsesLisp | 2019-02-27 | 2 | -14/+8 |
| | |||||
* | Merge pull request #2042 from ReinUsesLisp/nouveau-tex | bunnei | 2019-02-07 | 1 | -1/+0 |
|\ | | | | | maxwell_3d: Allow texture handles with TIC id zero | ||||
| * | maxwell_3d: Allow texture handles with TIC id zero | ReinUsesLisp | 2019-02-03 | 1 | -1/+0 |
| | | | | | | | | | | Also remove "enabled" field from Tegra::Texture::FullTextureInfo because it would become unused. | ||||
* | | video_core/texture: Fix BitField size for depth_minus_one | ReinUsesLisp | 2019-02-05 | 1 | -1/+1 |
|/ | |||||
* | 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 | 3 | -12/+19 |
| | |||||
* | 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 |
| | | |||||
* | | Merge pull request #1693 from Tinob/master | bunnei | 2018-11-19 | 1 | -1/+14 |
|\ \ | | | | | | | Missing ogl states | ||||
| * | | fix sampler configuration, thanks to Marcos for his investigation | Rodolfo Bogado | 2018-11-17 | 1 | -1/+14 |
| |/ | |||||
* / | Eliminated unnessessary memory allocation and copy (#1702) | Frederic L | 2018-11-19 | 2 | -4/+18 |
|/ | |||||
* | 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 | ||||
* | set sampler max lod, min lod, lod bias and max anisotropy | Rodolfo Bogado | 2018-11-11 | 1 | -2/+11 |
| | |||||
* | Fix ASTC Decompressor to support depth parameter | FernandoS27 | 2018-11-02 | 2 | -16/+18 |
| | |||||
* | Fix ASTC formats | FernandoS27 | 2018-11-01 | 2 | -7/+9 |
| | |||||
* | Fixed mipmap block autosizing algorithm | FernandoS27 | 2018-10-29 | 1 | -0/+6 |
| | |||||
* | Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support | Rodolfo Bogado | 2018-10-28 | 1 | -0/+5 |
| | |||||
* | 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 | 2 | -0/+49 |
| | |||||
* | 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 | 3 | -28/+28 |
| | | |||||
* | | 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 | 2 | -0/+22 |
|/ | |||||
* | Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depth | FernandoS27 | 2018-10-10 | 1 | -2/+15 |
| | |||||
* | Implemented Depth Compare and Shadow Samplers | FernandoS27 | 2018-10-06 | 1 | -1/+12 |
| | |||||
* | gl_rasterizer_cache: Implement render to cubemap. | bunnei | 2018-09-30 | 1 | -0/+2 |
| | |||||
* | 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 |
|/ | |||||
* | gl_rasterizer_cache: Track texture depth. | bunnei | 2018-09-08 | 1 | -2/+10 |
| | |||||
* | 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 | 2 | -83/+6 |
| | |||||
* | 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 |
| | |||||
* | Merge pull request #799 from Subv/tex_r32f | bunnei | 2018-07-24 | 1 | -0/+3 |
|\ | | | | | GPU: Implement texture format R32F. | ||||
| * | GPU: Implement texture format R32F. | Subv | 2018-07-24 | 1 | -0/+3 |
| | | |||||
* | | gl_rasterizer: Implement texture border color. | bunnei | 2018-07-24 | 1 | -4/+4 |
|/ | |||||
* | 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 | 3 | -12/+6 |
| | | | | 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 |
| | |||||
* | astc: Initialize vector size directly in Decompress | Lioncash | 2018-07-18 | 1 | -2/+1 |
| | | | | There's no need to perform a separate resize. | ||||
* | astc: Mark functions as internally linked where applicable | Lioncash | 2018-07-18 | 1 | -17/+20 |
| | |||||
* | astc: const-correctness changes where applicable | Lioncash | 2018-07-18 | 1 | -14/+13 |
| | | | | | A few member functions didn't actually modify class state, so these can be amended as necessary. | ||||
* | astc: Delete Bits' copy contstructor and assignment operator | Lioncash | 2018-07-18 | 1 | -8/+6 |
| | | | | | This also potentially avoids warnings, considering the copy assignment operator is supposed to have a return value. | ||||
* | astc: In-class initialize member variables where appropriate | Lioncash | 2018-07-18 | 1 | -39/+22 |
| | |||||
* | 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 | 2 | -0/+37 |
| | |||||
* | 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 | 3 | -0/+1664 |
| | |||||
* | GPU: Support changing the texture swizzles for Maxwell textures. | Subv | 2018-06-07 | 1 | -0/+16 |
| | |||||
* | 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 |
| | |||||
* | add all the known TextureFormat (#474) | greggameplayer | 2018-05-29 | 1 | -2/+71 |
| | |||||
* | GPU: Implemented the A1B5G5R5 texture format (0x14) | Subv | 2018-05-27 | 2 | -0/+4 |
| | |||||
* | GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file. | Subv | 2018-04-25 | 2 | -3/+6 |
| | |||||
* | 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 | 2 | -0/+4 |
| | |||||
* | 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 | 2 | -0/+5 |
| | |||||
* | GPU: Allow using a configurable block height when unswizzling textures. | Subv | 2018-04-18 | 3 | -6/+13 |
| | |||||
* | GPU/TIC: Added the pitch and block height fields to the TIC structure. | Subv | 2018-04-18 | 1 | -1/+16 |
| | |||||
* | texture: Add missing formats. | bunnei | 2018-04-18 | 1 | -1/+3 |
| | |||||
* | GPU: Assert when finding a texture with a format type other than UNORM. | Subv | 2018-04-07 | 1 | -4/+14 |
| | |||||
* | Textures: Added a helper function to know if a texture is blocklinear or pitch. | Subv | 2018-04-07 | 1 | -0/+5 |
| | |||||
* | GPU: Added the TSC structure. It contains information about the sampler. | Subv | 2018-03-26 | 1 | -0/+50 |
| | |||||
* | GPU: Added more fields to the TIC structure. | Subv | 2018-03-26 | 1 | -4/+30 |
| | |||||
* | 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 | 3 | -4/+94 |
| | | | | Allow unswizzling of DXT1 textures. | ||||
* | GPU: Preliminary work for texture decoding. | Subv | 2018-03-24 | 3 | -0/+91 |