aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
AgeCommit message (Collapse)Author
2020-03-12video_core: Implement RGBA16_SNORMReinUsesLisp
Implement RGBA16_SNORM with the current API. Nothing special here.
2020-02-25video_core/surface: Add R32_SINT render target formatReinUsesLisp
2019-11-14texture_cache: Use a table instead of switch for texture formatsReinUsesLisp
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.
2019-11-14texture_cache: Drop abstracted ComponentTypeReinUsesLisp
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.
2019-11-14correct the implementation of RGBA16UIgreggameplayer
2019-10-27Video_Core: Implement texture format E5B9G9R9_SHAREDEXP.Fernando Sahmkow
This commit implements the E5B9G9R9 Texture format into the general system and OpenGL backend.
2019-10-17Merge pull request #2966 from FernandoS27/astc-formatsRodrigo Locatti
Implement a series of ASTC formats and R4G4B4A4 format
2019-10-15video_core/surface: Add missing break in PixelFormatFromTextureFormat()Lioncash
Prevents fallthrough into the following case.
2019-10-09Surfaces: Implement R4G4B4A4U format.Fernando Sahmkow
2019-10-09Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5Fernando Sahmkow
2019-09-22video_core: Implement RGBX16F PixelFormatFearlessTobi
2019-09-13video_core/surface: Add function to detect sRGB surfacesReinUsesLisp
This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB surfaces when a backend can target both native and converted ASTC.
2019-08-21renderer_opengl: Implement RGB565 framebuffer formatReinUsesLisp
2019-06-20surface: Correct format S8Z24Fernando Sahmkow
2019-06-20gl_rasterizer_cache: Use texture buffers to emulate texture buffersReinUsesLisp
2019-06-20maxwell_3d: Partially implement texture buffers as 1D texturesReinUsesLisp
2019-04-18video_core: Silent -Wswitch warningsReinUsesLisp
2019-04-09Implement Texture Format ZF32_X24S8.Fernando Sahmkow
2019-03-05video_core/surface: Remove obsolete TODO in PixelFormatFromRenderTargetFormat()Lioncash
This isn't needed anymore, according to Hexagon
2019-02-09Implement BGRA8 framebuffer formatgreggameplayer
2019-01-29gl_shader_cache: Fix texture view for cubemaps as cubemap arraysReinUsesLisp
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).
2018-12-28gpu: Remove PixelFormat G8R8U and G8R8S, as they do not seem to exist.bunnei
- Fixes UI rendering issues in The Legend of Zelda: Breath of the Wild.
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-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-05Merge pull request #1616 from FernandoS27/cube-arraybunnei
Implement Cube Arrays
2018-11-01Fix ASTC Decompressor to support depth parameterFernandoS27
2018-11-01Implement Cube ArraysFernandoS27
2018-10-30video_core: Move surface declarations out of gl_rasterizer_cacheReinUsesLisp