ameerj
c81ced43ae
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.
4 years ago
Marshall Mohror
2173534da5
vulkan: Implement FidelityFX Super Resolution
4 years ago
FernandoS27
a75a56e998
Texture Cache: Rescale conversions between depth and color
4 years ago
Fernando Sahmkow
2ea2bc9f01
Texture cache: Fix memory consumption and ignore rating when a depth texture is rendered.
4 years ago
ameerj
d644a3780c
vulkan: Fix rescaling push constant usage
4 years ago
Fernando Sahmkow
7bb52ad3a7
Texture Cahe: Fix downscaling on SMO.
4 years ago
ameerj
4cbb1d0799
texture_cache_base: Remove unused function declarations
4 years ago
ameerj
4290f2101d
yuzu: Fix build errors
4 years ago
ameerj
3c0e8a57e6
vk_texture_cache: Use 3D to scale images when blit is unsupported
4 years ago
ameerj
1efc65f2d3
texture_cache: Fix infinitely recursive ImageCanRescale check
4 years ago
ameerj
311b2327cb
vk_texture_cache: Fix BlitScale of non-2D images
4 years ago
ameerj
b4742306d8
video_core: Refactor resolution scale function
4 years ago
ameerj
d4f9388875
texture_cache: Fix image resolves when src/dst are not both scaled
4 years ago
lat9nq
0fe6ef6109
yuzu_cmd: Read resolution_setup and scaling_filter from config
Also adds descriptions and the settings to the default config.
4 years ago
lat9nq
c89adcb342
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.
4 years ago
ameerj
b15c9a406f
gl_texture_cache: Disable scissor test when scaling textures
Fixes a bug on BOTW where some objects were no longer being rendered after blitting
4 years ago
ameerj
83aec496da
vk_texture_cache: Fix unsupported blit format error checking
4 years ago
ameerj
52cc6f51aa
vk_texture_cache: Fix early returns on unsupported scales
4 years ago
ameerj
d99a6e8e47
video_core: Misc resolution scaling related refactoring
4 years ago
ameerj
0b0403b779
texture_cache: Refactor scaled image size calculation
4 years ago
Fernando Sahmkow
d4f803a81b
Texture Cache: Fix calculations when scaling.
4 years ago
ameerj
3efb140439
gl_texture_cache: Fix BGR pbo size for scaled textures
4 years ago
ameerj
1ce6cd119d
rescaling_pass: Fix IR errors when unscalable texture types are encountered
4 years ago
Fernando Sahmkow
6ca801276b
Texture Cache: Fix Rescaling on Multisample
4 years ago
Fernando Sahmkow
fc21f37496
TextureCache: Base fixes on rescaling.
4 years ago
ameerj
63465c24e1
rescaling_pass: Logic simplification and minor style cleanup
4 years ago
ameerj
746d27372f
rescaling_pass: Scale ImageFetch offset if it exists
Plus some code deduplication
4 years ago
ameerj
b5ba8bec0e
rescaling_pass: Enable PatchImageQueryDimensions on fragment stages
4 years ago
ameerj
abe81f73ef
vk_texture_cache: Simplify scaled image management
4 years ago
ameerj
226aeeec04
gl_texture_cache: Fix scaling backup logic
4 years ago
ameerj
c2174cbb8f
vk_rasterizer: Fix scaling on Y_NEGATE
4 years ago
ameerj
0213e5353d
vk_texture_cache: Use nearest neighbor scaling when available
4 years ago
ameerj
5cef89d424
gl_texture_cache: Fix depth and integer format scaling blits
4 years ago
ameerj
e2f0f51295
gl_texture_cache/rescaling_pass: minor cleanup
4 years ago
ameerj
3beae9ae77
vk_texture_cache: Minor cleanup
4 years ago
ameerj
54ecf7c8c1
rescaling_pass: Fix and simplify shuffle/fragcoord pass
4 years ago
Fernando Sahmkow
4535feac87
Shader: Don't rescale FragCoord if used by Shuffle
4 years ago
ameerj
355343d57c
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.
4 years ago
ameerj
4919d2d00f
bootmanager: Fix screenshot resolution factor usage
Fixes screenshots at non integer scaling
4 years ago
ameerj
1e67e6c225
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
4 years ago
ameerj
8539edc252
Renderers: Unify post processing filter shaders
4 years ago
ameerj
f6e3e6651c
gl_texture_cache: fix scaling on upload
4 years ago
Fernando Sahmkow
bca25d2a0f
Renderer: Implement Bicubic and ScaleForce filters.
4 years ago
Fernando Sahmkow
cdbe98a4d0
Texture Cache: fix scaling on upload and stop scaling on base resolution.
4 years ago
ameerj
02f27b1992
shader, video_core: Fix GCC build errors
4 years ago
ameerj
92bb068ad5
emit_spirv: Fix RescalingLayout alignment
4 years ago
Fernando Sahmkow
674b073744
TextureCache: Fix Buffer Views Scaling.
4 years ago
Fernando Sahmkow
2549ee33ee
RescalingPass: Agregate pixels on texelFetch while on Fragment Shader
4 years ago
Fernando Sahmkow
6933f82023
Texture Cache: Correctly fix Blits Rescaling.
4 years ago
Fernando Sahmkow
dc6f13060b
shader: Fix TextureSize check on rescaling.
4 years ago