Lioncash
82cd87f6c2
service/acc: Silence truncation warnings
The sanitizing function ensures that the returned type is always the
correct type. This eliminates warnings without extra casts.
7 years ago
Fernando Sahmkow
d1812316e1
texture_cache: Style and Corrections
7 years ago
Fernando Sahmkow
51ba60b27e
shader_cache: Correct versioning and size calculation.
7 years ago
Fernando Sahmkow
97c8c9f49a
texture_cache: Eliminate linear textures fallthrough
7 years ago
Fernando Sahmkow
6acdae0e4c
texture_cache: Correct format R16U as sibling
7 years ago
Fernando Sahmkow
d7587842eb
texture_cache: Implement texception detection and texture barriers.
7 years ago
Fernando Sahmkow
198a0395bb
texture_cache: Corrections to buffers and shadow formats use.
7 years ago
Fernando Sahmkow
fed773a86c
texture_cache: Implement Irregular Views in surfaces
7 years ago
Fernando Sahmkow
082740d34d
surface: Correct format S8Z24
7 years ago
Fernando Sahmkow
03d489dcf5
texture_cache: Initialize all siblings to invalid pixel format.
7 years ago
Fernando Sahmkow
9422cf7c10
gl_texture_cache: Use Stream Buffers instead of Persistant for Buffer Copies.
7 years ago
Fernando Sahmkow
fac3706253
gl_texture_cache: Correct Image Blit
7 years ago
Fernando Sahmkow
7232a1ed16
decoders: correct block calculation
7 years ago
Fernando Sahmkow
3dd7643214
texture_cache: Use siblings textures on Rebuild and fix possible error on blitting
7 years ago
Fernando Sahmkow
4db28f72f6
texture_cache: Remove old rasterizer cache
7 years ago
Fernando Sahmkow
2d83553ea7
texture_cache: Implement siblings texture formats.
7 years ago
Fernando Sahmkow
cb728797b0
fermi2d: Correct Origin Mode
7 years ago
Fernando Sahmkow
a56f687793
texture_cache: correct texture buffer on surface params
7 years ago
Fernando Sahmkow
b01f9c8a70
texture_cache: eliminate accelerated depth->color/color->depth copies due to driver instability.
7 years ago
Fernando Sahmkow
561ce29c98
texture_cache: correct mutex locks
7 years ago
Fernando Sahmkow
b7de31ac97
shader_ir: Fix image copy rebase issues
7 years ago
Fernando Sahmkow
6f69f06873
texture_cache: Don't Image Copy if component types differ
7 years ago
Fernando Sahmkow
9f755218a1
texture_cache: move some large methods to cpp files
7 years ago
Fernando Sahmkow
3809041c24
texture_cache: Optimize GetSurface and use references on functions that don't change a surface.
7 years ago
Fernando Sahmkow
60bf761afb
texture_cache: Implement Buffer Copy and detect Turing GPUs Image Copies
7 years ago
Fernando Sahmkow
228f516bb4
texture_cache uncompress-compress is untopological.
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.
7 years ago
Fernando Sahmkow
9251354152
texture_cache: Correct copying between compressed and uncompressed formats
7 years ago
Fernando Sahmkow
0966665fc2
texture_cache: Only load on recycle with accurate GPU.
Testing so far has proven this to be quite safe as texture memory read
added a 2-5ms load to the current cache.
7 years ago
Fernando Sahmkow
ea1525dab1
Fix rebase errors
7 years ago
Fernando Sahmkow
bdf9faab33
texture_cache: Handle uncontinuous surfaces.
7 years ago
Fernando Sahmkow
e60ed2bb3e
texture_cache: return null surface on invalid address
7 years ago
Fernando Sahmkow
fcac55d5bf
texture_cache: Add checks for texture buffers.
7 years ago
Fernando Sahmkow
175aa343ff
texture_cache: Fermi2D reform and implement View Mirage
This also does some fixes on compressed textures reinterpret and on the
Fermi2D engine in general.
7 years ago
ReinUsesLisp
1bf4154e7d
gl_shader_decompiler: Implement image binding settings
7 years ago
ReinUsesLisp
9097301d92
shader: Implement bindless images
7 years ago
ReinUsesLisp
06c4ce8645
shader: Decode SUST and implement backing image functionality
7 years ago
ReinUsesLisp
007ffbef1c
gl_rasterizer: Track texture buffer usage
7 years ago
ReinUsesLisp
58c0d37422
video_core: Make ARB_buffer_storage a required extension
7 years ago
ReinUsesLisp
07f7ce1da2
gl_rasterizer_cache: Use texture buffers to emulate texture buffers
7 years ago
ReinUsesLisp
b8c75a845b
maxwell_3d: Partially implement texture buffers as 1D textures
7 years ago
ReinUsesLisp
6c81c8f5b7
gl_shader_decompiler: Allow 1D textures to be texture buffers
7 years ago
ReinUsesLisp
4e81fc8296
shader: Implement texture buffers
7 years ago
Fernando Sahmkow
d267948a73
texture_cache: loose TryReconstructSurface when accurate GPU is not on.
Also corrects some asserts.
7 years ago
Fernando Sahmkow
6162cb922e
texture_cache: Document the most important methods.
7 years ago
Fernando Sahmkow
4530511ee4
texture_cache: Try to Reconstruct Surface on bigger than overlap.
This fixes clouds in SMO Cap Kingdom and lens on Cloud Kingdom.
Also moved accurate_gpu setting check to Pick Strategy
7 years ago
Fernando Sahmkow
a79831d9d0
texture_cache: Implement Guard mechanism
7 years ago
Fernando Sahmkow
7731a0e2d1
texture_cache: General Fixes
Fixed ASTC mipmaps loading
Fixed alignment on openGL upload/download
Fixed Block Height Calculation
Removed unalign_height
7 years ago
ReinUsesLisp
c2ed348bdd
surface_params: Ensure pitch is always written to avoid surface leaks
7 years ago
ReinUsesLisp
9098905dd1
gl_framebuffer_cache: Use a hashed struct to cache framebuffers
7 years ago
Fernando Sahmkow
d65a4af895
texture_cache return invalid buffer on deactivated color_mask
7 years ago