summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Vulkan Rasterizer: Fix clears on integer textures.FernandoS272021-11-161-0/+4
|
* vk_texture_cache: Use nearest neighbor scaling when availableameerj2021-11-161-0/+2
|
* Reaper: Address Feedback.Fernando Sahmkow2021-06-161-0/+2
|
* video_core: Rewrite the texture cacheReinUsesLisp2020-12-301-137/+15
| | | | | | | | | | | | | | The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
* video_core: Rearrange pixel format namesReinUsesLisp2020-07-131-400/+400
| | | | | | Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs.
* video_core: Fix DXT4 and RGB565ReinUsesLisp2020-07-131-8/+15
|
* video_core: Fix B5G6R5_UNORM render target formatReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement RGBA32_SINT render targetReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement RGBA32_SINT render targetReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement RGBA16_SINT render targetReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement RGBA8_SINT render targetReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement RG32_SINT render targetReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement RG8_SINT render target and fix RG8_UINTReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement R8_SINT render targetReinUsesLisp2020-07-131-0/+5
|
* video_core: Implement R8_SNORM render targetReinUsesLisp2020-07-131-0/+5
|
* video_core/surface: Remove explicit values on PixelFormat's definitionReinUsesLisp2020-07-131-80/+80
|
* texture: Implement R8G8UIMorph2020-04-301-37/+42
| | | | - Used by The Walking Dead: The Final Season
* video_core: Use native ASTC when availableReinUsesLisp2020-04-011-97/+0
|
* video_core: Implement RGBA16_SNORMReinUsesLisp2020-03-131-68/+74
| | | | Implement RGBA16_SNORM with the current API. Nothing special here.
* texture: Implement R32IReinUsesLisp2020-02-151-33/+39
|
* texture_cache: Use a table instead of switch for texture formatsReinUsesLisp2019-11-151-5/+0
| | | | | | 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-15/+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.
* Video_Core: Implement texture format E5B9G9R9_SHAREDEXP.Fernando Sahmkow2019-10-271-5/+11
| | | | | This commit implements the E5B9G9R9 Texture format into the general system and OpenGL backend.
* Surfaces: Implement R4G4B4A4U format.Fernando Sahmkow2019-10-091-23/+29
|
* Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5Fernando Sahmkow2019-10-091-70/+130
|
* video_core: Implement RGBX16F PixelFormatFearlessTobi2019-09-221-22/+28
|
* video_core/surface: Add function to detect sRGB surfacesReinUsesLisp2019-09-131-0/+2
| | | | | This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB surfaces when a backend can target both native and converted ASTC.
* texture_cache: Style changesReinUsesLisp2019-06-301-9/+9
|
* video_core/surface: Address feedbackReinUsesLisp2019-06-241-2/+2
|
* texture_cache: Style and CorrectionsFernando Sahmkow2019-06-211-64/+64
|
* gl_rasterizer_cache: Use texture buffers to emulate texture buffersReinUsesLisp2019-06-211-0/+1
|
* texture_cache: General FixesFernando Sahmkow2019-06-211-1/+83
| | | | | | | Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height
* surface_params: Optimize CreateForTextureReinUsesLisp2019-06-211-70/+72
| | | | | Instead of using Common::AlignUp, use Common::AlignBits to align the texture compression factor.
* video_core: Remove unused Fill surface typeReinUsesLisp2019-02-011-2/+1
|
* gl_shader_cache: Fix texture view for cubemaps as cubemap arraysReinUsesLisp2019-01-301-0/+2
| | | | | | | | | | | | Cubemaps are considered layered and to create a texture view the texture mustn't be a layered texture, resulting in cubemaps being bound as cubemap arrays. To fix this issue this commit introduces an extra surface parameter called "is_array" and uses this to query for texture view creation. Now that texture views for cubemaps are actually being created, this also fixes the number of layers created for the texture view (since they have to be 6 to create a texture view of cubemaps).
* gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.bunnei2018-12-281-51/+41
| | | | - Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
* Improve msvc codegen for hot-path array LUTsheapo2018-12-051-275/+277
| | | | | | | In some constexpr functions, msvc is building the LUT at runtime (pushing each element onto the stack) out of an abundance of caution. Moving the arrays into be file-scoped constexpr's avoids this and turns the functions into simple look-ups as intended.
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB (#1666)greggameplayer2018-11-131-69/+79
| | | | | | | * Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( needed by Mario+Rabbids Kingdom Battle ) * Small placement correction
* Merge pull request #1616 from FernandoS27/cube-arraybunnei2018-11-051-0/+1
|\ | | | | Implement Cube Arrays
| * Implement Cube ArraysFernandoS272018-11-011-0/+1
| |
* | Fix ASTC Decompressor to support depth parameterFernandoS272018-11-021-13/+94
|/
* video_core: Move surface declarations out of gl_rasterizer_cacheReinUsesLisp2018-10-301-0/+385