aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures
AgeCommit message (Collapse)Author
2019-11-08video_core: Silence implicit conversion warningsReinUsesLisp
2019-10-29shader/node: Unpack bindless texture encodingReinUsesLisp
Bindless textures were using u64 to pack the buffer and offset from where they come from. Drop this in favor of separated entries in the struct. Remove the usage of std::set in favor of std::list (it's not std::vector to avoid reference invalidations) for samplers and images.
2019-10-28video_core/textures: Remove unused index entry in FullTextureInfoReinUsesLisp
2019-10-27astc: Silence implicit conversion warningsReinUsesLisp
2019-09-01Merge pull request #2765 from FernandoS27/dma-fixbunnei
MaxwellDMA: Fixes, corrections and relaxations.
2019-07-25MaxwellDMA: Fixes, corrections and relaxations.Fernando Sahmkow
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.
2019-07-18textures: Fix texture buffer size calculationReinUsesLisp
2019-06-20texture_cache: Style and CorrectionsFernando Sahmkow
2019-06-20surface: Correct format S8Z24Fernando Sahmkow
2019-06-20decoders: correct block calculationFernando Sahmkow
2019-06-20maxwell_3d: Partially implement texture buffers as 1D texturesReinUsesLisp
2019-06-20texture_cache: General FixesFernando Sahmkow
Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height
2019-06-20video_core: Use un-shifted block sizes to avoid integer divisionsReinUsesLisp
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).
2019-06-20gl_texture_cache: Add fast copy pathReinUsesLisp
2019-06-20gl_texture_cache: Initial implementationReinUsesLisp
2019-05-30maxwell_to_gl: Use GL_CLAMP to emulate Clamp wrap modeReinUsesLisp
2019-05-09video_core/textures/astc: Remove unused variablesLioncash
Silences a few compilation warnings.
2019-04-30Fix Layered ASTC TexturesFernando Sahmkow
By adding the missing layer offset in ASTC compression.
2019-04-16Apply Const correctness to SwizzleKepler and replace u32 for size_t on ↵Fernando Sahmkow
iterators.
2019-04-15Implement Block Linear copies in Kepler Memory.Fernando Sahmkow
2019-04-06video_core/textures/convert: Replace include with a forward declarationLioncash
Avoids dragging in a direct dependency in a header.
2019-04-06video_core/texures/texture: Remove unnecessary includesLioncash
Nothing in this header relies on common_funcs or the memory manager. This gets rid of reliance on indirect inclusions in the OpenGL caches.
2019-03-16video_core: Refactor to use MemoryManager interface for all memory access.bunnei
# 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
2019-03-14Merge pull request #2229 from ReinUsesLisp/vk-sampler-cachebunnei
vk_sampler_cache: Implement a sampler cache
2019-03-13video_core/texture: Fix up sampler lod biasReinUsesLisp
2019-03-12vk_sampler_cache: Implement a sampler cacheReinUsesLisp
2019-03-12video_core/texture: Add a raw representation of TSCEntryReinUsesLisp
2019-03-09gl_rasterizer: Encapsulate sampler queries into methodsReinUsesLisp
2019-02-26gl_rasterizer_cache: Move format conversion to its own fileReinUsesLisp
2019-02-26decoders: Minor style changesReinUsesLisp
2019-02-06Merge pull request #2042 from ReinUsesLisp/nouveau-texbunnei
maxwell_3d: Allow texture handles with TIC id zero
2019-02-05video_core/texture: Fix BitField size for depth_minus_oneReinUsesLisp
2019-02-03maxwell_3d: Allow texture handles with TIC id zeroReinUsesLisp
Also remove "enabled" field from Tegra::Texture::FullTextureInfo because it would become unused.
2018-12-19Fixed uninitialized memory due to missing returns in canaryDavid Marcec
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
2018-11-26Implemented Tile Width SpacingFernandoS27
2018-11-18Merge pull request #1717 from FreddyFunk/swizzle-gobbunnei
textures/decoders: Replace magic numbers
2018-11-18Merge pull request #1693 from Tinob/masterbunnei
Missing ogl states
2018-11-18Eliminated unnessessary memory allocation and copy (#1702)Frederic L
2018-11-17fix sampler configuration, thanks to Marcos for his investigationRodolfo Bogado
2018-11-17textures/decoders: Replace magic numbersFrederic Laing
2018-11-15textures/decoders: Minor cleanupFrederic Laing
2018-11-12Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666)greggameplayer
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( needed by Mario+Rabbids Kingdom Battle ) * Small placement correction
2018-11-11set sampler max lod, min lod, lod bias and max anisotropyRodolfo Bogado
2018-11-01Fix ASTC Decompressor to support depth parameterFernandoS27
2018-11-01Fix ASTC formatsFernandoS27
2018-10-28Fixed mipmap block autosizing algorithmFernandoS27
2018-10-28Implement sRGB Support, including workarounds for nvidia driver issues and ↵Rodolfo Bogado
QT sRGB support
2018-10-25Merge pull request #1524 from FernandoS27/layers-fixbunnei
rasterizer: Fix Layered Textures Loading and Cubemaps
2018-10-23decoders: Remove unused variable within SwizzledData()Lioncash
2018-10-23Fixed Layered Textures Loading and CubemapsFernandoS27