summaryrefslogtreecommitdiffstats
path: root/src/video_core/textures (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #2765 from FernandoS27/dma-fixbunnei2019-09-012-7/+10
|\ | | | | MaxwellDMA: Fixes, corrections and relaxations.
| * MaxwellDMA: Fixes, corrections and relaxations.Fernando Sahmkow2019-07-262-7/+10
| | | | | | | | | | | | | | 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.
* | textures: Fix texture buffer size calculationReinUsesLisp2019-07-181-1/+1
|/
* texture_cache: Style and CorrectionsFernando Sahmkow2019-06-211-3/+4
|
* surface: Correct format S8Z24Fernando Sahmkow2019-06-211-2/+2
|
* decoders: correct block calculationFernando Sahmkow2019-06-211-19/+15
|
* maxwell_3d: Partially implement texture buffers as 1D texturesReinUsesLisp2019-06-211-1/+17
|
* texture_cache: General FixesFernando Sahmkow2019-06-212-10/+11
| | | | | | | Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height
* video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp2019-06-213-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 pathReinUsesLisp2019-06-211-2/+1
|
* gl_texture_cache: Initial implementationReinUsesLisp2019-06-211-1/+2
|
* maxwell_to_gl: Use GL_CLAMP to emulate Clamp wrap modeReinUsesLisp2019-05-301-1/+1
|
* video_core/textures/astc: Remove unused variablesLioncash2019-05-101-6/+2
| | | | Silences a few compilation warnings.
* Fix Layered ASTC TexturesFernando Sahmkow2019-05-011-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 Sahmkow2019-04-162-9/+12
|
* Implement Block Linear copies in Kepler Memory.Fernando Sahmkow2019-04-162-0/+24
|
* video_core/textures/convert: Replace include with a forward declarationLioncash2019-04-062-1/+5
| | | | Avoids dragging in a direct dependency in a header.
* video_core/texures/texture: Remove unnecessary includesLioncash2019-04-061-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.bunnei2019-03-162-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-cachebunnei2019-03-151-24/+29
|\ | | | | vk_sampler_cache: Implement a sampler cache
| * vk_sampler_cache: Implement a sampler cacheReinUsesLisp2019-03-131-1/+1
| |
| * video_core/texture: Add a raw representation of TSCEntryReinUsesLisp2019-03-121-24/+29
| |
* | video_core/texture: Fix up sampler lod biasReinUsesLisp2019-03-131-1/+1
|/
* gl_rasterizer: Encapsulate sampler queries into methodsReinUsesLisp2019-03-091-5/+29
|
* gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp2019-02-275-34/+160
|
* decoders: Minor style changesReinUsesLisp2019-02-272-14/+8
|
* Merge pull request #2042 from ReinUsesLisp/nouveau-texbunnei2019-02-071-1/+0
|\ | | | | maxwell_3d: Allow texture handles with TIC id zero
| * maxwell_3d: Allow texture handles with TIC id zeroReinUsesLisp2019-02-031-1/+0
| | | | | | | | | | Also remove "enabled" field from Tegra::Texture::FullTextureInfo because it would become unused.
* | video_core/texture: Fix BitField size for depth_minus_oneReinUsesLisp2019-02-051-1/+1
|/
* Fixed uninitialized memory due to missing returns in canaryDavid Marcec2018-12-191-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 SpacingFernandoS272018-11-263-12/+19
|
* Merge pull request #1717 from FreddyFunk/swizzle-gobbunnei2018-11-191-37/+33
|\ | | | | textures/decoders: Replace magic numbers
| * textures/decoders: Replace magic numbersFrederic Laing2018-11-171-37/+33
| |
* | Merge pull request #1693 from Tinob/masterbunnei2018-11-191-1/+14
|\ \ | | | | | | Missing ogl states
| * | fix sampler configuration, thanks to Marcos for his investigationRodolfo Bogado2018-11-171-1/+14
| |/
* / Eliminated unnessessary memory allocation and copy (#1702)Frederic L2018-11-192-4/+18
|/
* textures/decoders: Minor cleanupFrederic Laing2018-11-151-16/+16
|
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666)greggameplayer2018-11-131-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 anisotropyRodolfo Bogado2018-11-111-2/+11
|
* Fix ASTC Decompressor to support depth parameterFernandoS272018-11-022-16/+18
|
* Fix ASTC formatsFernandoS272018-11-012-7/+9
|
* Fixed mipmap block autosizing algorithmFernandoS272018-10-291-0/+6
|
* Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB supportRodolfo Bogado2018-10-281-0/+5
|
* Merge pull request #1524 from FernandoS27/layers-fixbunnei2018-10-251-3/+3
|\ | | | | rasterizer: Fix Layered Textures Loading and Cubemaps
| * Fixed Layered Textures Loading and CubemapsFernandoS272018-10-231-3/+3
| |
* | decoders: Remove unused variable within SwizzledData()Lioncash2018-10-241-1/+0
|/
* decoders: Introduce functions for un/swizzling subrects.bunnei2018-10-192-0/+49
|
* Merge pull request #1488 from Hexagon12/astc-typesbunnei2018-10-141-0/+2
|\ | | | | video_core: Added ASTC 5x4; 8x5 types
| * Added ASTC 5x4; 8x5Hexagon122018-10-131-0/+2
| |
* | Shorten the implementation of 3D swizzle to only 3 functionsFernandoS272018-10-141-70/+27
| |
* | Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBufferFernandoS272018-10-131-1/+1
| |
* | Propagate depth and depth_block on modules using decodersFernandoS272018-10-133-28/+28
| |
* | Remove old Swizzle algorithms and use 3d SwizzleFernandoS272018-10-131-93/+69
| |
* | Implement Precise 3D SwizzleFernandoS272018-10-131-3/+71
| |
* | Implement Fast 3D SwizzleFernandoS272018-10-131-2/+74
| |
* | Implemented helper function to correctly calculate a texture's sizeFernandoS272018-10-122-0/+22
|/
* Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depthFernandoS272018-10-101-2/+15
|
* Implemented Depth Compare and Shadow SamplersFernandoS272018-10-061-1/+12
|
* gl_rasterizer_cache: Implement render to cubemap.bunnei2018-09-301-0/+2
|
* Reverse stride align restriction on FastSwizzle due to lost performanceFernandoS272018-09-211-3/+2
|
* Join both Swizzle methods within one interface functionFernandoS272018-09-211-11/+19
|
* Standarized Legacy Swizzle to look alike FastSwizzle and use a Swizzling Table insteadFernandoS272018-09-211-42/+38
|
* Remove same output bpp restriction on FastSwizzleFernandoS272018-09-211-4/+5
|
* Improved Legacy Swizzler to be better documented and work betterFernandoS272018-09-211-15/+21
|
* Improved fast swizzle and removed restrictions to itFernandoS272018-09-211-7/+12
|
* Merge pull request #1311 from FernandoS27/fast-swizzlebunnei2018-09-171-2/+49
|\ | | | | Optimized Texture Swizzling
| * Optimized Texture SwizzlingFernandoS272018-09-141-2/+49
| |
* | Implement ASTC_2D_8X8 (Bayonetta 2)raven022018-09-161-0/+2
|/
* gl_rasterizer_cache: Track texture depth.bunnei2018-09-081-2/+10
|
* Implement BC6H_UF16 & BC6H_SF16 (#1092)greggameplayer2018-08-311-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.bunnei2018-08-102-83/+6
|
* Implement BC5/DXN2 (#996)Khangaroo2018-08-091-0/+3
| | | - Used by Kirby Star Allies.
* Implement RGB32F PixelFormat (#886) (used by Go Vacation)greggameplayer2018-08-021-0/+4
|
* Implement R16_G16Unknown2018-07-261-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.Subv2018-07-251-0/+3
|
* GPU: Implemented the R16 and R16F texture formats.Subv2018-07-241-0/+3
|
* Merge pull request #799 from Subv/tex_r32fbunnei2018-07-241-0/+3
|\ | | | | GPU: Implement texture format R32F.
| * GPU: Implement texture format R32F.Subv2018-07-241-0/+3
| |
* | gl_rasterizer: Implement texture border color.bunnei2018-07-241-4/+4
|/
* gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei2018-07-241-0/+4
|
* video_core: Use nested namespaces where applicableLioncash2018-07-213-12/+6
| | | | Compresses a few namespace specifiers to be more compact.
* decoders: Fix calc of swizzle image_width_in_gobs.bunnei2018-07-191-1/+4
|
* astc: Initialize vector size directly in DecompressLioncash2018-07-181-2/+1
| | | | There's no need to perform a separate resize.
* astc: Mark functions as internally linked where applicableLioncash2018-07-181-17/+20
|
* astc: const-correctness changes where applicableLioncash2018-07-181-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 operatorLioncash2018-07-181-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 appropriateLioncash2018-07-181-39/+22
|
* gl_rasterizer_cache: Implement texture format G8R8.bunnei2018-07-151-0/+3
|
* gl_rasterizer_cache: Implement depth format Z16_UNORM.bunnei2018-07-151-0/+3
|
* GPU: Implemented the BC7U texture format.Subv2018-07-071-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.Subv2018-07-041-0/+2
|
* gl_rasterizer_cache: Implement PixelFormat S8Z24.bunnei2018-07-031-0/+2
|
* GPU: Implemented the Z24S8 depth format and load the depth framebuffer.Subv2018-07-022-0/+37
|
* GPU: Implemented the RGBA32_UINT rendertarget format.Subv2018-06-301-0/+4
|
* gl_rasterizer: Implement texture format ASTC_2D_4X4.bunnei2018-06-183-0/+1664
|
* GPU: Support changing the texture swizzles for Maxwell textures.Subv2018-06-071-0/+16
|
* GPU: Implemented the R11FG11FB10F texture and rendertarget formats.Subv2018-06-061-0/+3
|
* GPU: Implemented the DXN1 (BC4) texture format.Subv2018-06-021-1/+5
|
* gl_rasterizer_cache: Implement PixelFormat RGBA16F.bunnei2018-05-311-0/+3
|
* GPU: Implemented the R8 texture format (0x1D)Subv2018-05-301-0/+4
|
* add all the known TextureFormat (#474)greggameplayer2018-05-291-2/+71
|
* GPU: Implemented the A1B5G5R5 texture format (0x14)Subv2018-05-272-0/+4
|
* GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.Subv2018-04-252-3/+6
|
* gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.bunnei2018-04-251-0/+1
|
* GPU: Implement the A2BGR10 texture format.Subv2018-04-222-0/+4
|
* GPU: Add support for the DXT23 and DXT45 compressed texture formats.Subv2018-04-191-1/+9
|
* GPU: Implemented the B5G6R5 format.Subv2018-04-192-0/+5
|
* GPU: Allow using a configurable block height when unswizzling textures.Subv2018-04-183-6/+13
|
* GPU/TIC: Added the pitch and block height fields to the TIC structure.Subv2018-04-181-1/+16
|
* texture: Add missing formats.bunnei2018-04-181-1/+3
|
* GPU: Assert when finding a texture with a format type other than UNORM.Subv2018-04-071-4/+14
|
* Textures: Added a helper function to know if a texture is blocklinear or pitch.Subv2018-04-071-0/+5
|
* GPU: Added the TSC structure. It contains information about the sampler.Subv2018-03-261-0/+50
|
* GPU: Added more fields to the TIC structure.Subv2018-03-261-4/+30
|
* Frontend: Updated the surface view debug widget to work with Maxwell surfaces.Subv2018-03-241-0/+11
|
* GPU: Added a method to unswizzle a texture without decoding it.Subv2018-03-243-4/+94
| | | | Allow unswizzling of DXT1 textures.
* GPU: Preliminary work for texture decoding.Subv2018-03-243-0/+91