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.
5 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
5 years ago
ameerj
83aec496da
vk_texture_cache: Fix unsupported blit format error checking
5 years ago
ameerj
52cc6f51aa
vk_texture_cache: Fix early returns on unsupported scales
5 years ago
ameerj
d99a6e8e47
video_core: Misc resolution scaling related refactoring
5 years ago
ameerj
0b0403b779
texture_cache: Refactor scaled image size calculation
5 years ago
Fernando Sahmkow
d4f803a81b
Texture Cache: Fix calculations when scaling.
5 years ago
ameerj
3efb140439
gl_texture_cache: Fix BGR pbo size for scaled textures
5 years ago
Fernando Sahmkow
6ca801276b
Texture Cache: Fix Rescaling on Multisample
5 years ago
Fernando Sahmkow
fc21f37496
TextureCache: Base fixes on rescaling.
5 years ago
ameerj
abe81f73ef
vk_texture_cache: Simplify scaled image management
5 years ago
ameerj
226aeeec04
gl_texture_cache: Fix scaling backup logic
5 years ago
ameerj
c2174cbb8f
vk_rasterizer: Fix scaling on Y_NEGATE
5 years ago
ameerj
0213e5353d
vk_texture_cache: Use nearest neighbor scaling when available
5 years ago
ameerj
5cef89d424
gl_texture_cache: Fix depth and integer format scaling blits
5 years ago
ameerj
e2f0f51295
gl_texture_cache/rescaling_pass: minor cleanup
5 years ago
ameerj
3beae9ae77
vk_texture_cache: Minor cleanup
5 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.
5 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
5 years ago
ameerj
8539edc252
Renderers: Unify post processing filter shaders
5 years ago
ameerj
f6e3e6651c
gl_texture_cache: fix scaling on upload
5 years ago
Fernando Sahmkow
bca25d2a0f
Renderer: Implement Bicubic and ScaleForce filters.
5 years ago
Fernando Sahmkow
cdbe98a4d0
Texture Cache: fix scaling on upload and stop scaling on base resolution.
5 years ago
ameerj
02f27b1992
shader, video_core: Fix GCC build errors
5 years ago
ameerj
92bb068ad5
emit_spirv: Fix RescalingLayout alignment
5 years ago
Fernando Sahmkow
674b073744
TextureCache: Fix Buffer Views Scaling.
5 years ago
Fernando Sahmkow
6933f82023
Texture Cache: Correctly fix Blits Rescaling.
5 years ago
ameerj
877f6e4db7
texture_cache: Disable dst_image scaling in BlitImage
Fixes scaling in Super Mario Party
5 years ago
ameerj
a8a021ddcf
emit_spirv: Fix RescalingLayout alignment
5 years ago
ReinUsesLisp
d04e2dac6c
shader: Properly scale image reads and add GL SPIR-V support
Thanks for everything!
5 years ago
ReinUsesLisp
928ff21aae
shader: Properly blacklist and scale image loads
5 years ago
ReinUsesLisp
0100b5e700
texture_cache: Add getter to query if image view is rescaled
5 years ago
ReinUsesLisp
dc0a20f7e0
vk_rasterizer: Minor style change
5 years ago
ReinUsesLisp
6e61089164
gl_texture_cache: Fix scaling blits
5 years ago
ReinUsesLisp
0d12e498ab
glsl/glasm: Pass and use scaling parameters in shaders
5 years ago
ReinUsesLisp
d7178ad04e
gl_rasterizer: Properly scale viewports and scissors
5 years ago
ameerj
e2a7f219e1
gl_texture_cache: Fix multi layered texture Scale
5 years ago
ameerj
650b57386a
gl_compute_pipeline: Add downscale factor to shader uniforms
5 years ago
ameerj
d891de0664
gl_rasterizer: Fix rescale dirty state checking
5 years ago
ameerj
b83c3e7182
gl_graphics_pipeline: Add downscale factor to shader uniforms
5 years ago
ReinUsesLisp
b1504f3118
texture_cache: Fix blacklists on compute
5 years ago
ReinUsesLisp
dacd5da998
texture_cache: Simplify image view queries and blacklisting
5 years ago
Fernando Sahmkow
a637be0a6e
Vulkan: Fix downscaling Blit.
5 years ago
Fernando Sahmkow
02708d7e46
Texture Cache: Implement Rating System.
5 years ago
Fernando Sahmkow
13c8573186
OpenGL: set linear mag filter when blitting a downscaled image.
5 years ago
Fernando Sahmkow
257a19aaa6
Vulkan: Fix AA when rescaling.
5 years ago
Fernando Sahmkow
8cafa0686b
Texture Cache: Implement Blacklisting.
5 years ago
ReinUsesLisp
6dea5adc4d
vulkan: Implement rescaling shader patching
5 years ago
ReinUsesLisp
6c9df94aa6
vk_texture_cache: Properly scale blit source images
5 years ago
ReinUsesLisp
0c46b92625
vk_graphics_pipeline: Use Shader::NumDescriptors when possible
5 years ago