Fernando Sahmkow
3b61de74e6
Texture Cache: fix memory managment and optimize scaled downloads, uploads.
3 years ago
Fernando Sahmkow
c2ca55c9d5
Texture Cache: ease the requirements of textures being blacklisted.
3 years ago
Fernando Sahmkow
50b4c774cb
Vulkan: Fix Blit Depth Stencil
3 years ago
Fernando Sahmkow
425ab9ef4b
Texture Cache: Fix downscaling and correct memory comsumption.
3 years ago
Fernando Sahmkow
b60966041c
Presentation: add Nearest Neighbor filter.
3 years ago
ameerj
77b0812d69
externals: Add only included ffx-fsr headers
...
The submodule adds a lot of unneeded bloat due its addition of samples that contain large media files that are difficult to compress.
3 years ago
Marshall Mohror
37cb0377ae
vulkan: Implement FidelityFX Super Resolution
3 years ago
FernandoS27
d4f5193bd3
Texture Cache: Rescale conversions between depth and color
3 years ago
Fernando Sahmkow
ef1dc42635
Texture cache: Fix memory consumption and ignore rating when a depth texture is rendered.
3 years ago
ameerj
618de4e787
vulkan: Fix rescaling push constant usage
3 years ago
Fernando Sahmkow
b7ccc58f23
Texture Cahe: Fix downscaling on SMO.
3 years ago
ameerj
0f14c9379e
texture_cache_base: Remove unused function declarations
3 years ago
ameerj
ca1db63116
yuzu: Fix build errors
3 years ago
ameerj
ebf36f23dd
vk_texture_cache: Use 3D to scale images when blit is unsupported
3 years ago
ameerj
4de584005f
texture_cache: Fix infinitely recursive ImageCanRescale check
3 years ago
ameerj
b1ae935f11
vk_texture_cache: Fix BlitScale of non-2D images
3 years ago
ameerj
abd07e4158
video_core: Refactor resolution scale function
3 years ago
ameerj
b14f2c7c82
texture_cache: Fix image resolves when src/dst are not both scaled
3 years ago
lat9nq
49c0c7efd2
yuzu_cmd: Read resolution_setup and scaling_filter from config
...
Also adds descriptions and the settings to the default config.
3 years ago
lat9nq
1c93476a80
video_core,yuzu: Move UpdateRescalingInfo call to video_core
...
This only needs to happen once per game boot, so we can just call it
during CreateGPU and be done with it, avoiding the need to call it in
the frontends.
3 years ago
ameerj
3233fa5dc8
gl_texture_cache: Disable scissor test when scaling textures
...
Fixes a bug on BOTW where some objects were no longer being rendered after blitting
3 years ago
ameerj
89a7e566c7
vk_texture_cache: Fix unsupported blit format error checking
3 years ago
ameerj
f8339cd703
vk_texture_cache: Fix early returns on unsupported scales
3 years ago
ameerj
31478c6c1b
video_core: Misc resolution scaling related refactoring
3 years ago
ameerj
88ef04dbaf
texture_cache: Refactor scaled image size calculation
3 years ago
Fernando Sahmkow
237a43004f
Texture Cache: Fix calculations when scaling.
3 years ago
ameerj
e0a3830855
gl_texture_cache: Fix BGR pbo size for scaled textures
3 years ago
ameerj
581ea90062
rescaling_pass: Fix IR errors when unscalable texture types are encountered
3 years ago
Fernando Sahmkow
ea82bd4b7e
Texture Cache: Fix Rescaling on Multisample
3 years ago
Fernando Sahmkow
19ca0c9ab5
TextureCache: Base fixes on rescaling.
3 years ago
ameerj
99eec162da
rescaling_pass: Logic simplification and minor style cleanup
3 years ago
ameerj
276565973f
rescaling_pass: Scale ImageFetch offset if it exists
...
Plus some code deduplication
3 years ago
ameerj
dd66384451
rescaling_pass: Enable PatchImageQueryDimensions on fragment stages
3 years ago
ameerj
36f261edef
vk_texture_cache: Simplify scaled image management
3 years ago
ameerj
8183142cd4
gl_texture_cache: Fix scaling backup logic
3 years ago
ameerj
122ddeb7ff
vk_rasterizer: Fix scaling on Y_NEGATE
3 years ago
ameerj
16017ac450
vk_texture_cache: Use nearest neighbor scaling when available
3 years ago
ameerj
27af298e78
gl_texture_cache: Fix depth and integer format scaling blits
3 years ago
ameerj
b027fac794
gl_texture_cache/rescaling_pass: minor cleanup
3 years ago
ameerj
c8a971be91
vk_texture_cache: Minor cleanup
3 years ago
ameerj
edb5844240
rescaling_pass: Fix and simplify shuffle/fragcoord pass
3 years ago
Fernando Sahmkow
b3a9c8f108
Shader: Don't rescale FragCoord if used by Shuffle
3 years ago
ameerj
6000fe69a4
image_info: Mark MSAA textures as non-rescalable
...
Blitting or resolving multisampled images requires the dimensions of the src and dst to be equal for valid usage, making them difficult for resolution scaling using the current implementation.
3 years ago
ameerj
80f8d4989e
bootmanager: Fix screenshot resolution factor usage
...
Fixes screenshots at non integer scaling
3 years ago
ameerj
fcf2b2c78a
gl_texture_cache: Simplify scaling
...
We don't need to reconstruct new textures every time we ScaleUp/ScaleDown. We can scale up once, and revert to the original texture whenever scaling down.
Fixes memory leaks due to glDeleteTextures being deferred for later handling on some drivers
3 years ago
ameerj
ae8d19d17e
Renderers: Unify post processing filter shaders
3 years ago
ameerj
29710f3250
gl_texture_cache: fix scaling on upload
3 years ago
Fernando Sahmkow
a6b88e85bf
Renderer: Implement Bicubic and ScaleForce filters.
3 years ago
Fernando Sahmkow
c5bbbf3902
Texture Cache: fix scaling on upload and stop scaling on base resolution.
3 years ago
ameerj
68e038404c
shader, video_core: Fix GCC build errors
3 years ago