summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/surface_params.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Remove all Core::System references in rendererReinUsesLisp2020-09-061-2/+3
| | | | | | | | | Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend.
* video_core/textures: Add and use SwizzleSliceToVoxel, and minor style changesReinUsesLisp2020-07-101-1/+1
| | | | | | | 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.
* video_core: Use native ASTC when availableReinUsesLisp2020-04-011-25/+11
|
* texture_cache: Implement layered framebuffer attachmentsReinUsesLisp2020-02-161-4/+1
| | | | | | Layered framebuffer attachments is a feature that allows applications to write attach layered textures to a single attachment. What layer the fragments are written to is decided from the shader using gl_Layer.
* texture_cache/surface_params: Make GetNumLayers publicReinUsesLisp2020-01-141-4/+5
|
* Texture Cache: Improve documentationFernando Sahmkow2019-12-221-1/+1
|
* Texture Cache: Address FeedbackFernando Sahmkow2019-12-221-3/+3
|
* Texture Cache: Add HLE methods for building 3D textures within the GPU in certain scenarios.Fernando Sahmkow2019-12-221-1/+13
| | | | | | 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.
* Texture_Cache: Redo invalid Surfaces handling.Fernando Sahmkow2019-11-201-0/+8
| | | | | | | This commit aims to redo the full setup of invalid textures and guarantee correct behavior across backends in the case of finding one by using black dummy textures that match the target of the expected texture.
* texture_cache: Use a table instead of switch for texture formatsReinUsesLisp2019-11-151-2/+6
| | | | | | Use a large flat array to look up texture formats. This allows us to properly implement formats with different component types. It should also be faster.
* texture_cache: Drop abstracted ComponentTypeReinUsesLisp2019-11-141-1/+0
| | | | | | | | | Abstracted ComponentType was not being used in a meaningful way. This commit drops its usage. There is one place where it was being used to test compatibility between two cached surfaces, but this one is implied in the pixel format. Removing the component type test doesn't change the behaviour.
* texture_cache: Minor changesReinUsesLisp2019-09-061-2/+0
|
* gl_rasterizer: Implement image bindingsReinUsesLisp2019-09-061-1/+5
|
* texture_cache: Pass TIC to texture cacheReinUsesLisp2019-09-061-3/+2
|
* video_core: Silent miscellaneous warnings (#2820)Rodrigo Locatti2019-08-301-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | * texture_cache/surface_params: Remove unused local variable * rasterizer_interface: Add missing documentation commentary * maxwell_dma: Remove unused rasterizer reference * video_core/gpu: Sort member declaration order to silent -Wreorder warning * fermi_2d: Remove unused MemoryManager reference * video_core: Silent unused variable warnings * buffer_cache: Silent -Wreorder warnings * kepler_memory: Remove unused MemoryManager reference * gl_texture_cache: Add missing override * buffer_cache: Add missing include * shader/decode: Remove unused variables
* texture_cache: Style changesReinUsesLisp2019-06-301-6/+3
|
* surface_params: Corrections, asserts and documentation.Fernando Sahmkow2019-06-261-41/+56
|
* texture_cache: move some large methods to cpp filesFernando Sahmkow2019-06-211-7/+25
|
* texture_cache uncompress-compress is untopological.Fernando Sahmkow2019-06-211-0/+14
| | | | | | This makes conflicts between non compress and compress textures to be auto recycled. It also limits the amount of mipmaps a texture can have if it goes above it's limit.
* texture_cache: Correct copying between compressed and uncompressed formatsFernando Sahmkow2019-06-211-0/+20
|
* Fix rebase errorsFernando Sahmkow2019-06-211-0/+4
|
* texture_cache: Fermi2D reform and implement View MirageFernando Sahmkow2019-06-211-0/+14
| | | | | This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general.
* texture_cache: General FixesFernando Sahmkow2019-06-211-8/+19
| | | | | | | 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-211-3/+4
| | | | | | | | | | | | 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).
* Reduce amount of size calculations.Fernando Sahmkow2019-06-211-11/+39
|
* Correct Surface Base and Views for new Texture CacheFernando Sahmkow2019-06-211-112/+47
|
* texture_cache: Split texture cache into different filesReinUsesLisp2019-06-211-0/+229