Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-08-24 | gl_texture_cache: Take std::string by reference in DecorateViewName() | Lioncash | 1 | -1/+1 | |
LabelGLObject takes a string_view, so we don't need to make copies of the std::string. | |||||
2020-07-13 | video_core: Rearrange pixel format names | ReinUsesLisp | 1 | -86/+87 | |
Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs. | |||||
2020-07-13 | video_core: Fix DXT4 and RGB565 | ReinUsesLisp | 1 | -1/+3 | |
2020-07-13 | video_core: Fix B5G6R5_UNORM render target format | ReinUsesLisp | 1 | -0/+1 | |
2020-07-13 | video_core: Fix B5G6R5U | ReinUsesLisp | 1 | -1/+1 | |
2020-07-13 | video_core: Implement RGBA32_SINT render target | ReinUsesLisp | 1 | -58/+59 | |
2020-07-13 | video_core: Implement RGBA32_SINT render target | ReinUsesLisp | 1 | -0/+1 | |
2020-07-13 | video_core: Implement RGBA16_SINT render target | ReinUsesLisp | 1 | -0/+1 | |
2020-07-13 | video_core: Implement RGBA8_SINT render target | ReinUsesLisp | 1 | -0/+1 | |
2020-07-13 | video_core: Implement RG32_SINT render target | ReinUsesLisp | 1 | -0/+1 | |
2020-07-13 | video_core: Implement RG8_SINT render target and fix RG8_UINT | ReinUsesLisp | 1 | -1/+2 | |
2020-07-13 | video_core: Implement R8_SINT render target | ReinUsesLisp | 1 | -0/+1 | |
2020-07-13 | video_core: Implement R8_SNORM render target | ReinUsesLisp | 1 | -0/+1 | |
2020-06-08 | texture_cache: Handle 3D texture blits with one layer | ReinUsesLisp | 1 | -2/+2 | |
2020-06-08 | texture_cache: Implement rendering to 3D textures | ReinUsesLisp | 1 | -18/+31 | |
This allows rendering to 3D textures with more than one slice. Applications are allowed to render to more than one slice of a texture using gl_Layer from a VTG shader. This also requires reworking how 3D texture collisions are handled, for now, this commit allows rendering to slices but not to miplevels. When a render target attempts to write to a mipmap, we fallback to the previous implementation (copying or flushing as needed). - Fixes color correction 3D textures on UE4 games (rainbow effects). - Allows Xenoblade games to render to 3D textures directly. | |||||
2020-06-01 | gl_device: Avoid devices with CAVEAT_SUPPORT on ASTC | ReinUsesLisp | 1 | -2/+1 | |
This avoids using Nvidia's ASTC decoder on OpenGL. The last time it was profiled, it was slower than yuzu's decoder. While we are at it, fix a bug in the texture cache when native ASTC is not supported. | |||||
2020-05-26 | gl_texture_cache: Implement small texture view cache for swizzles | ReinUsesLisp | 1 | -16/+26 | |
This fixes cases where the texture swizzle was applied twice on the same draw to a texture bound to two different slots. | |||||
2020-05-26 | texture_cache: Implement depth stencil texture swizzles | ReinUsesLisp | 1 | -11/+28 | |
Stop ignoring image swizzles on depth and stencil images. This doesn't fix a known issue on Xenoblade Chronicles 2 where an OpenGL texture changes swizzles twice before being used. A proper fix would be having a small texture view cache for this like we do on Vulkan. | |||||
2020-04-30 | texture: Implement R8G8UI | Morph | 1 | -0/+1 | |
- Used by The Walking Dead: The Final Season | |||||
2020-04-13 | gl_texture_cache: Fix layered texture attachment base level | ReinUsesLisp | 1 | -1/+1 | |
The base level is already included in the texture view. If we specify the base level in the texture again, this will end up in the incorrect level and potentially out of bounds. | |||||
2020-04-09 | gl_texture_cache: Attach view instead of base texture for layered attachments | ReinUsesLisp | 1 | -2/+2 | |
This way we are not ignoring the base layer of the current texture. | |||||
2020-04-01 | gl_texture_cache: Fix software ASTC fallback | ReinUsesLisp | 1 | -7/+12 | |
2020-04-01 | video_core: Use native ASTC when available | ReinUsesLisp | 1 | -99/+95 | |
2020-03-13 | video_core: Implement RGBA16_SNORM | ReinUsesLisp | 1 | -0/+1 | |
Implement RGBA16_SNORM with the current API. Nothing special here. | |||||
2020-02-28 | gl_texture_cache: Remove blending disable on blits | ReinUsesLisp | 1 | -5/+0 | |
Blending doesn't affect blits. Rasterizer discard does, update the commentaries. | |||||
2020-02-28 | gl_state_tracker: Implement dirty flags for clip control | ReinUsesLisp | 1 | -2/+0 | |
2020-02-28 | gl_state_tracker: Implement dirty flags for sRGB | ReinUsesLisp | 1 | -0/+1 | |
2020-02-28 | gl_state_tracker: Implement dirty flags for rasterize enable | ReinUsesLisp | 1 | -0/+1 | |
2020-02-28 | gl_state_tracker: Implement dirty flags for blending | ReinUsesLisp | 1 | -0/+1 | |
2020-02-28 | gl_state_tracker: Implement dirty flags for scissors | ReinUsesLisp | 1 | -0/+1 | |
2020-02-28 | renderer_opengl: Reintroduce dirty flags for render targets | ReinUsesLisp | 1 | -2/+5 | |
2020-02-28 | gl_state: Remove completely | ReinUsesLisp | 1 | -1/+0 | |
2020-02-28 | gl_state: Remove framebuffer tracking | ReinUsesLisp | 1 | -12/+5 | |
2020-02-28 | gl_state: Remove image tracking | ReinUsesLisp | 1 | -10/+4 | |
2020-02-28 | gl_state: Remove blend state tracking | ReinUsesLisp | 1 | -0/+3 | |
2020-02-28 | gl_state: Remove clip control tracking | ReinUsesLisp | 1 | -0/+1 | |
2020-02-28 | gl_state: Remove rasterizer disable tracking | ReinUsesLisp | 1 | -0/+2 | |
2020-02-28 | gl_state: Remove scissor test tracking | ReinUsesLisp | 1 | -0/+1 | |
2020-02-28 | gl_state: Remove framebuffer sRGB tracking | ReinUsesLisp | 1 | -1/+7 | |
2020-02-28 | gl_rasterizer: Remove dirty flags | ReinUsesLisp | 1 | -2/+0 | |
2020-02-16 | texture_cache: Implement layered framebuffer attachments | ReinUsesLisp | 1 | -8/+20 | |
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. | |||||
2020-02-16 | surface_base: Implement texture buffer flushes | ReinUsesLisp | 1 | -0/+7 | |
Implement downloads to guest memory from texture buffers on the generic cache and OpenGL. | |||||
2020-02-15 | texture: Implement R32I | ReinUsesLisp | 1 | -0/+1 | |
2020-01-28 | gl_texture_cache: Silence implicit sign cast warnings | ReinUsesLisp | 1 | -3/+6 | |
2020-01-27 | gl_texture_cache: Properly implement depth/stencil sampling | ReinUsesLisp | 1 | -4/+27 | |
This addresses the long standing issue of compatibility vs. core profiles on OpenGL, properly implementing depth vs. stencil sampling depending on the texture swizzle. | |||||
2020-01-14 | gl_texture_cache: Use local variables to simplify DownloadTexture | ReinUsesLisp | 1 | -6/+4 | |
2020-01-14 | gl_texture_cache: Fix format for RGBX16F | ReinUsesLisp | 1 | -1/+1 | |
2020-01-14 | gl_texture_cache: Use Snorm internal format for RG8S | ReinUsesLisp | 1 | -1/+1 | |
2020-01-14 | gl_texture_cache: Use Snorm internal format for ABGR8S | ReinUsesLisp | 1 | -1/+1 | |
2019-11-24 | gl_texture_cache: Apply sRGB on blits | ReinUsesLisp | 1 | -0/+1 | |
glBlitFramebuffer keeps in mind GL_FRAMEBUFFER_SRGB's state. Enable this depending on the target surface pixel format. | |||||
2019-11-14 | texture_cache: Drop abstracted ComponentType | ReinUsesLisp | 1 | -103/+82 | |
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-10-27 | Video_Core: Implement texture format E5B9G9R9_SHAREDEXP. | Fernando Sahmkow | 1 | -0/+1 | |
This commit implements the E5B9G9R9 Texture format into the general system and OpenGL backend. | |||||
2019-10-09 | Surfaces: Implement R4G4B4A4U format. | Fernando Sahmkow | 1 | -1/+2 | |
2019-10-09 | Surfaces: Implement ASTC 6x6 10x10 12x12 8x6 6x5 | Fernando Sahmkow | 1 | -0/+10 | |
2019-09-22 | Fix clang-format | FearlessTobi | 1 | -1/+1 | |
2019-09-22 | video_core: Implement RGBX16F PixelFormat | FearlessTobi | 1 | -0/+1 | |
2019-07-18 | Gl_Texture_Cache: Remove assert on component type in GetFormatTuple | Fernando Sahmkow | 1 | -1/+0 | |
Textures can have different components types in different orders. This assert was completely inprecise and the effectiveness of such is better handled by case and within the texture cache. | |||||
2019-07-18 | gl_texture_cache: Do not set texture parameters to buffers | ReinUsesLisp | 1 | -0/+3 | |
2019-07-18 | gl_texture_cache: Add missing break in CreateTexture | ReinUsesLisp | 1 | -0/+1 | |
2019-07-17 | Maxwell3D: Implement State Dirty Flags. | Fernando Sahmkow | 1 | -1/+5 | |
2019-07-14 | GPU: Add a microprofile for macro interpreter | Fernando Sahmkow | 1 | -1/+2 | |
2019-07-14 | Gl_Texture_Cache: Measure Buffer Copy Times | Fernando Sahmkow | 1 | -0/+2 | |
2019-07-05 | texture_cache: Address Feedback | Fernando Sahmkow | 1 | -3/+3 | |
2019-07-05 | texture_cache: Correct Texture Buffer Uploading | Fernando Sahmkow | 1 | -2/+15 | |
2019-06-29 | texture_cache: Address feedback | ReinUsesLisp | 1 | -4/+1 | |
2019-06-26 | gl_texture_cache: Correct asserts | Fernando Sahmkow | 1 | -1/+1 | |
2019-06-25 | gl_texture_cache: Corrections and fixes | Fernando Sahmkow | 1 | -10/+6 | |
2019-06-24 | gl_texture_cache: Explicitly add indirect include | ReinUsesLisp | 1 | -0/+1 | |
2019-06-21 | gl_texture_cache: Use Stream Buffers instead of Persistant for Buffer Copies. | Fernando Sahmkow | 1 | -1/+1 | |
2019-06-21 | gl_texture_cache: Correct Image Blit | Fernando Sahmkow | 1 | -1/+1 | |
2019-06-21 | texture_cache: Use siblings textures on Rebuild and fix possible error on blitting | Fernando Sahmkow | 1 | -1/+1 | |
2019-06-21 | texture_cache: eliminate accelerated depth->color/color->depth copies due to driver instability. | Fernando Sahmkow | 1 | -8/+5 | |
2019-06-21 | texture_cache: Optimize GetSurface and use references on functions that don't change a surface. | Fernando Sahmkow | 1 | -3/+3 | |
2019-06-21 | texture_cache: Implement Buffer Copy and detect Turing GPUs Image Copies | Fernando Sahmkow | 1 | -1/+91 | |
2019-06-21 | texture_cache uncompress-compress is untopological. | Fernando Sahmkow | 1 | -5/+5 | |
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. | |||||
2019-06-21 | texture_cache: Fermi2D reform and implement View Mirage | Fernando Sahmkow | 1 | -30/+24 | |
This also does some fixes on compressed textures reinterpret and on the Fermi2D engine in general. | |||||
2019-06-21 | texture_cache: General Fixes | Fernando Sahmkow | 1 | -3/+8 | |
Fixed ASTC mipmaps loading Fixed alignment on openGL upload/download Fixed Block Height Calculation Removed unalign_height | |||||
2019-06-21 | gl_texture_cache: Make main views be proxy textures instead of a full view. | Fernando Sahmkow | 1 | -10/+18 | |
2019-06-21 | Reduce amount of size calculations. | Fernando Sahmkow | 1 | -1/+0 | |
2019-06-21 | Texture Cache: Implement Blitting and Fermi Copies | Fernando Sahmkow | 1 | -1/+69 | |
2019-06-21 | surface_view: Add constructor for ViewParams | ReinUsesLisp | 1 | -11/+4 | |
2019-06-21 | Correct Mipmaps View method in Texture Cache | Fernando Sahmkow | 1 | -21/+23 | |
2019-06-21 | Implement Texture Cache V2 | Fernando Sahmkow | 1 | -183/+103 | |
2019-06-21 | texture_cache: Remove execution context copies from the texture cache | ReinUsesLisp | 1 | -6/+10 | |
This is done to simplify the OpenGL implementation, it is needed for Vulkan. | |||||
2019-06-21 | texture_cache: Split texture cache into different files | ReinUsesLisp | 1 | -1/+1 | |
2019-06-21 | texture_cache: Move staging buffer into a generic implementation | ReinUsesLisp | 1 | -107/+7 | |
2019-06-21 | texture_cache: Flush 3D textures in the order they are drawn | ReinUsesLisp | 1 | -2/+3 | |
2019-06-21 | gl_texture_cache: Minor changes | ReinUsesLisp | 1 | -22/+28 | |
2019-06-21 | gl_texture_cache: Add copy from multiple overlaps into a single surface | ReinUsesLisp | 1 | -4/+50 | |
2019-06-21 | gl_texture_cache: Attach surface textures instead of views | ReinUsesLisp | 1 | -6/+21 | |
2019-06-21 | gl_texture_cache: Add fast copy path | ReinUsesLisp | 1 | -3/+48 | |
2019-06-21 | gl_texture_cache: Initial implementation | ReinUsesLisp | 1 | -0/+514 | |