bunnei
0442db9ad6
Merge pull request #7395 from Morph1984/resolve-comments
...
general: Resolve comments in PR #7368
2021-11-21 02:42:24 -08:00
bunnei
15212de85a
Merge pull request #7389 from ameerj/screenshot-1x
...
Fix screenshot dimensions when at 1x scale
2021-11-21 02:31:32 -08:00
Morph
e0c4af1b7b
vk_texture_cache: Mark VkBufferUsageFlags as static constexpr
2021-11-20 21:49:37 -05:00
Morph
feba9b7300
vk_blit_image: Consolidate CreatePipelineTargetEx functions
2021-11-20 21:18:37 -05:00
bunnei
9e4707b508
Merge pull request #7368 from FernandoS27/vulkan-conv
...
Fix ART Blit detection regression and add D24S8 <-> RGBA8 conv to Vulkan
2021-11-20 16:51:13 -08:00
ameerj
69759e55ee
Fix screenshot dimensions when at 1x scale
...
This was regressed by ART.
Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size.
This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
2021-11-20 17:50:24 -05:00
Fernando Sahmkow
e6d7d48d78
TextureCache: Refactor and fix linux compiling.
2021-11-20 14:46:19 +01:00
Fernando Sahmkow
1bd224dda0
TextureCache: Assure full conversions on depth/stencil write shaders.
2021-11-20 06:17:01 +01:00
Fernando Sahmkow
e926797029
TextureCache: Implement buffer copies on Vulkan.
2021-11-20 06:15:29 +01:00
bunnei
cee5a7b762
Merge pull request #7294 from vonchenplus/fix_image_update_error_when_width_too_small
...
Fix image update/download error when width too small
2021-11-19 15:56:27 -08:00
Fernando Sahmkow
df1eabfc53
TextureCache: Add R16G16 to D24S8 converter.
2021-11-20 00:02:12 +01:00
Fernando Sahmkow
4241b9e26c
TextureCache: Add B10G11R11 to D24S8 converter.
2021-11-19 23:22:44 +01:00
Fernando Sahmkow
efe634608e
TextureCache: Further fixes on resolve algorithm.
2021-11-19 23:02:04 +01:00
bunnei
2b5f99cebd
Merge pull request #7357 from Morph1984/s8_uint
...
video_core: Implement S8_UINT format
2021-11-19 01:16:49 -08:00
Fernando Sahmkow
5e58fd30b6
TextureCache: Implement additional D24S8 convertions.
2021-11-19 06:27:44 +01:00
Fernando Sahmkow
57e1775bc8
TextureCache: force same image format when resolving an image.
2021-11-19 05:46:57 +01:00
Fernando Sahmkow
37459e821b
TextureCache: Fix regression caused by ART and improve blit detection algorithm to be smarter.
2021-11-19 03:17:54 +01:00
Fernando Sahmkow
a21d1447ab
Vulkan: implement D24S8 <-> RGBA8 convertions.
2021-11-19 03:17:02 +01:00
Morph
39a49776b6
renderer_vulkan: Implement S8_UINT stencil format
...
It should be noted that on Windows, only nvidia gpus support this format natively as of this commit.
2021-11-18 00:05:51 -05:00
ameerj
b31bfc9ca5
gl_texture_cache: Round format conversion PBO to next power of 2
2021-11-17 23:49:44 -05:00
Morph
be263c113c
renderer_opengl: Implement S8_UINT stencil format
2021-11-17 15:05:07 -05:00
Morph
c7bdf8825f
video_core: Add S8_UINT stencil format
2021-11-17 15:04:38 -05:00
Feng Chen
f4ee936f8b
Fix image update/download error when width too small
2021-11-17 12:21:17 +08:00
ameerj
ba5778b0e3
texture_cache: Use pixel format conversion when supported by the runtime
2021-11-16 22:32:46 -05:00
ameerj
902c3f97ce
gl_texture_cache: Make FormatConversionPass more generic
...
This allows the usage of the FormatConversionPass to be applied to more than the previously used BGR conversion scenarios.
2021-11-16 22:32:11 -05:00
ameerj
96df298438
gl_texture_cache: Rename BGRCopyPass to FormatConversionPass
2021-11-16 22:31:58 -05:00
Fernando Sahmkow
88936fc84a
TextureCache: Fix Automatic Anisotropic.
2021-11-17 03:15:08 +01:00
FernandoS27
c136081f6e
TextureCache: OGL query device memory if possible.
2021-11-17 01:45:50 +01:00
Fernando Sahmkow
923aab37f8
TextureCache: Fix OGL cleaning
2021-11-17 00:59:46 +01:00
Fernando Sahmkow
c74619d266
TextureCache: Add automatic anisotropic filtering and refactor code.
2021-11-16 23:14:51 +01:00
Fernando Sahmkow
28fddb9c5e
TextureCache: Make a better Anisotropic setter.
2021-11-16 22:11:33 +01:00
Fernando Sahmkow
45b03b3c9f
Texture Cache: revert Image changes.
2021-11-16 22:11:33 +01:00
FernandoS27
9ba0a1e022
HostShader: fix Gaussian filter.
2021-11-16 22:11:33 +01:00
FernandoS27
b3494533e5
Texture Cahe/Shader decompiler: Resize PointSize on rescaling, refactor and make reaper more agressive on 4Gb GPUs.
2021-11-16 22:11:33 +01:00
ameerj
80b8b7c241
texture_cache: Refactor Render Target scaling function
2021-11-16 22:11:33 +01:00
ameerj
0299a48a5b
gl_resource_manager: Ensure non EXT_framebuffer objects are created
2021-11-16 22:11:33 +01:00
FernandoS27
795daca444
Texture Cache: Fix memory usage on ScaleDown.
2021-11-16 22:11:33 +01:00
FernandoS27
74ce2f4f6f
OpenGL: Fix viewport/Scissor scaling on downscaling.
2021-11-16 22:11:33 +01:00
FernandoS27
759bb872c3
Vulkan: fix regression.
2021-11-16 22:11:33 +01:00
ameerj
9db1c7f6c9
host_shaders: Misc copyright/style changes
2021-11-16 22:11:33 +01:00
ameerj
9f2bab53fd
FSR: Fix GCC build errors
2021-11-16 22:11:33 +01:00
Marshall Mohror
71e8b72b01
Vulkan: Reimplement FSR constant generation functions to avoid GCC warnings
2021-11-16 22:11:33 +01:00
ameerj
29ef93cc67
vk_blit_screen: Fix AA destruction order
2021-11-16 22:11:32 +01:00
Marshall Mohror
c2f855fb98
Presentation: Only use FP16 in scaling shaders on supported devices in Vulkan
2021-11-16 22:11:32 +01:00
ameerj
42b2b47f60
renderer_vulkan/blit_image: Use generic color state on Depth to Color blits
...
Fixes Bayonetta 2 on AMD
2021-11-16 22:11:32 +01:00
ameerj
d8e0e95991
vk_texture_cache: Refactor 3D scaling helpers
2021-11-16 22:11:32 +01:00
ameerj
572315d46b
gl_rasterizer: Fix ScissorTest and Clear when scaling
2021-11-16 22:11:32 +01:00
ameerj
904f32975e
gl_texture_cache: Simplify scaling procedures
2021-11-16 22:11:32 +01:00
Fernando Sahmkow
1ecaca64b4
OpenGlTextureCache: Fix state invalidation on rescaling.
2021-11-16 22:11:32 +01:00
Fernando Sahmkow
4462c6ee38
VulkanBufferCache: Avoid adding barriers between multiple copies.
2021-11-16 22:11:32 +01:00