aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/textures
AgeCommit message (Collapse)Author
2020-03-18astc: Fix clang build issuesReinUsesLisp
2020-03-14astc: Fix typos from search and replaceReinUsesLisp
2020-03-14astc: Minor changes to InputBitStreamReinUsesLisp
2020-03-14astc: Pass val in Replicate by copyReinUsesLisp
2020-03-14astc: Call std::vector:reserve on decodedClolorValues to avoid reallocatingReinUsesLisp
2020-03-13astc: Call std::vector::reserve on texelWeightValues to avoid reallocatingReinUsesLisp
2020-03-13astc: Create a LUT at compile time for encoding valuesReinUsesLisp
2020-03-13astc: Make IntegerEncodedValue a trivial structureReinUsesLisp
2020-03-13astc: Make IntegerEncodedValue constructor constexprReinUsesLisp
2020-03-13astc: Make IntegerEncodedValue trivially copyableReinUsesLisp
2020-03-13astc: Rename C types to common_typesReinUsesLisp
2020-03-13astc: Move Popcnt to an anonymous namespace and make it constexprReinUsesLisp
2020-03-13astc: Use common types instead of stdint.h integer typesReinUsesLisp
2020-03-13astc: Use 'enum class' instead of 'enum' for EIntegerEncodingReinUsesLisp
2020-03-08textures: Fix anisotropy hackReinUsesLisp
Previous code could generate an anisotropy value way higher than x16.
2020-02-27Create an "Advanced" tab in the graphics configuration tab and add ↵Morph
anisotropic filtering levels.
2019-12-22Texture Cache: Add HLE methods for building 3D textures within the GPU in ↵Fernando Sahmkow
certain scenarios. This commit adds a series of HLE methods for handling 3D textures in general. This helps games that generate 3D textures on every frame and may reduce loading times for certain games.
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.