squidbus
95a30b2b3e
texture_cache: Lock when updating image. ( #2198 )
2025-01-20 22:38:09 +01:00
squidbus
e1132db197
texture_cache: Prevent unregistered images from being tracked. ( #2196 )
2025-01-20 08:33:37 +01:00
squidbus
d14e57f6a8
hotfix: Move some command buffer references down.
...
Prevents references becoming stale due to stream buffer flushes.
2025-01-19 18:45:37 -08:00
squidbus
746f2e091d
tile: Account for thickness in micro tiled size calculation. ( #2185 )
2025-01-19 12:06:31 +01:00
squidbus
d361579618
texture_cache: Fix image mip overlap. ( #2177 )
2025-01-18 10:35:44 +01:00
squidbus
b3739bea92
renderer_vulkan: Simplify debug marker settings. ( #2159 )
...
* renderer_vulkan: Simplify debug marker settings.
* liverpool: Add scope markers for graphics/compute queues.
* liverpool: Remove unneeded extra label from command buffer markers.
* vk_rasterizer: Add scopes around filtered draw passes.
2025-01-16 12:14:34 +02:00
squidbus
53d0a309cc
liverpool_to_vk: Add R32Uint depth promote. ( #2145 )
2025-01-15 18:33:15 +03:00
squidbus
5040be1640
renderer_vulkan: Handle depth-stencil copies through depth render overrides. ( #2134 )
2025-01-15 08:48:40 +03:00
psucien
394331f206
video_core: detiler: display micro 64bpp ( #2137 )
2025-01-12 19:25:25 +01:00
squidbus
e656093d85
shader_recompiler: Fix some image view type issues. ( #2118 )
2025-01-10 12:35:03 -08:00
squidbus
725814ce01
shader_recompiler: Improvements to array and cube handling. ( #2083 )
...
* shader_recompiler: Account for instruction array flag in image type.
* shader_recompiler: Check da flag for all mimg instructions.
* shader_recompiler: Convert cube images into 2D arrays.
* shader_recompiler: Move image resource functions into sharp type.
* shader_recompiler: Use native AMD cube instructions when possible.
* specialization: Fix buffer storage mistake.
2025-01-10 10:48:12 +02:00
squidbus
78a32a3c0f
image_info: Add Neo mode macro tile extents. ( #2045 )
2025-01-04 11:44:14 +01:00
squidbus
7153bc8d8f
kernel: Check PSF for neo mode support. ( #2028 )
2025-01-04 00:29:09 +01:00
psucien
8e8671323a
texture_cache: slight detilers refactoring ( #2036 )
2025-01-03 21:42:23 +01:00
¥IGA
2951788afc
texture_cache: Adding some missing textures ( #2031 )
2025-01-03 20:11:24 +01:00
psucien
345d55669e
texture_cache: 8bpp macro detiler
2025-01-02 23:27:18 +01:00
TheTurtle
77d2172441
renderer_vulkan: Cleanup and improve barriers in caches ( #1865 )
...
* texture_cache: Stricter barriers on image upload
* buffer_cache: Stricter barrier for vkCmdUpdateBuffer
* vk_rasterizer: Barrier also normal buffers and make it apply to all stages
* texture_cache: Minor barrier cleanup
* Batch image and buffer barriers in a single command
* clang format
2025-01-02 19:43:56 +01:00
liberodark
596f4cdf0e
Fix amdgpu & other issues ( #2000 )
2025-01-02 15:39:39 +02:00
Mahmoud Adel
099e685bff
add R16Uint to Format Detiler ( #1995 )
...
helps with Matterfall
2025-01-02 14:29:57 +02:00
squidbus
41d64a200d
shader_recompiler: Add swizzle support for unsupported formats. ( #1869 )
...
* shader_recompiler: Add swizzle support for unsupported formats.
* renderer_vulkan: Rework MRT swizzles and add unsupported format swizzle support.
* shader_recompiler: Clean up swizzle handling and handle ImageRead storage swizzle.
* shader_recompiler: Fix type errors
* liverpool_to_vk: Remove redundant clear color swizzles.
* shader_recompiler: Reduce CompositeConstruct to constants where possible.
* shader_recompiler: Fix ImageRead/Write and StoreBufferFormatF32 types.
* amdgpu: Add a few more unsupported format remaps.
2024-12-31 06:14:47 +02:00
Quang Ngô
99e1e028c0
texture_cache: Don't read max ansio value if not aniso filter ( #1942 )
...
Fix Sonic Forces.
2024-12-28 13:18:56 +02:00
Quang Ngô
0351b864d0
texture_cache: Enable anisotropic filtering ( #1872 )
2024-12-27 16:47:26 +02:00
¥IGA
cf84c46a49
Fix for D32Sfloat and R8Snorm Tiled image ( #1898 )
...
* Fix for D32Sfloat Tiled image
* Fix for R8Snorm Tiled image
2024-12-27 16:43:44 +02:00
¥IGA
3ab118837a
Fix for D16Unorm Tiled image ( #1863 )
2024-12-25 16:06:12 +02:00
squidbus
a89c29c2ca
shader_recompiler: Rework image read/write emit. ( #1819 )
2024-12-25 01:13:32 +02:00
Emulator-Team-2
94f861588d
added B5G6R5UnormPack16 format ( #1856 )
2024-12-23 15:52:29 +02:00
psucien
8abc43a03d
texture_cache: 32bpp and 64bpp macro detilers ( #1852 )
...
* added 32bpp macro detiler
* added 64bpp macro detiler
* consider 3d depth alignment in size calculations
2024-12-22 19:43:44 +01:00
squidbus
14dc136832
renderer_vulkan: Various attachment cleanup and fixes. ( #1795 )
2024-12-22 16:08:48 +02:00
Mahmoud Adel
1e08099036
add R8Uint in image Detiling ( #1812 )
...
used by InFamous, and maybe other games
2024-12-18 22:06:30 +02:00
psucien
0fd1ab674b
GPU processor refactoring ( #1787 )
...
* coroutine code prettification
* asc queues submission refactoring
* better asc ring context handling
* final touches and review notes
* even more simplification for context saving
2024-12-15 00:54:46 +02:00
squidbus
e752f04cde
shader_recompiler: Fixups from stencil changes ( #1776 )
2024-12-14 14:33:24 +02:00
squidbus
3e22622508
renderer_vulkan: Remove some fallbacks and misc format queries that are no longer needed. ( #1773 )
2024-12-14 12:04:30 +02:00
TheTurtle
722a0e36be
graphics: Improve handling of color buffer and storage image swizzles ( #1763 )
...
* liverpool_to_vk: Remove wrong component swap formats
* shader_recompiler: Handle storage and buffer format swizzles
* shader_recompiler: Skip unsupported depth export
* image_view: Remove image format swizzle
* Platform support is not always guaranteed
2024-12-13 21:49:37 +02:00
squidbus
028be3ba5d
shader_recompiler: Emulate unnormalized sampler coordinates in shader. ( #1762 )
...
* shader_recompiler: Emulate unnormalized sampler coordinates in shader.
* Address review comments.
2024-12-13 21:49:07 +02:00
TheTurtle
cfbd869126
texture_cache: Improve support for stencil reads ( #1758 )
...
* texture_cache: Improve support for stencil reads
* libraries: Supress some spammy logs
* core: Support loading font libraries
* texture_cache: Remove assert
2024-12-13 18:28:19 +02:00
Osyotr
7aa868562c
video_core: add eR5G5B5A1UnormPack16 support to the detiler ( #1741 )
2024-12-12 15:45:59 +02:00
squidbus
714605c6a7
renderer_vulkan: Require exact image format for resolve pass. ( #1742 )
2024-12-11 21:51:39 +01:00
squidbus
14f7dc3527
cache: Invalidate pages for file reads. ( #1726 )
...
* cache: Invalidate pages for file reads.
* texture_cache: Simplify invalidate intersection check.
* vk_rasterizer: Make aware of mapped memory ranges.
* buffer_cache: Remove redundant page calculations.
Called functions will convert to page numbers/addresses themselves.
* file_system: Simplify memory invalidation and add a few missed cases.
2024-12-11 21:11:24 +02:00
¥IGA
51bf98a7b5
Fix for R4G4B4A4UnormPack16 Tiled image ( #1738 )
2024-12-11 16:07:33 +02:00
squidbus
e5e1aba241
renderer_vulkan: Introduce shader HLE system with copy shader implementation. ( #1683 )
...
* renderer_vulkan: Introduce shader HLE system with copy shader implementation.
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
* buffer_cache: Handle obtaining buffer views partially within buffers.
* vk_shader_hle: Make more efficient
---------
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2024-12-10 14:44:08 +02:00
squidbus
f347d3df18
image_view: Correct view format for D16Unorm images as well. ( #1708 )
2024-12-08 21:53:29 +01:00
Daniel R.
1793fd4df0
format
2024-12-08 16:05:36 +01:00
Daniel R.
0b672a08ac
video_core: improve image cube heuristic
2024-12-08 15:57:51 +01:00
squidbus
7d546f32d8
image_view: Add more BGRA storage format swizzles. ( #1693 )
2024-12-08 10:19:39 +02:00
¥IGA
2266622dcf
Support for Vulkan 1.4 ( #1665 )
2024-12-07 19:41:41 +02:00
IndecisiveTurtle
357b7829c3
hot-fix: Silence depth macrotiled warning
2024-12-06 21:50:25 +02:00
psucien
37f4bad2b7
video_core: fix for targets clears and copies ( #1670 )
2024-12-05 23:09:22 +02:00
squidbus
920acb8d8b
renderer_vulkan: Parse fetch shader per-pipeline ( #1656 )
...
* shader_recompiler: Read image format info directly from sharps instead of storing in shader info.
* renderer_vulkan: Parse fetch shader per-pipeline
* Few minor fixes.
* shader_recompiler: Specialize on vertex attribute number types.
* shader_recompiler: Move GetDrawOffsets to fetch shader
2024-12-04 13:03:47 +02:00
psucien
f0b75289c8
video_core: few detiler formats added
2024-12-02 22:24:54 +01:00
Vladislav Mikhalin
18a36c5daa
Fixed false-positive image reuploads ( #1557 )
...
* Fixed false-positive image reuploads
* Fixed userfaultfd path, removed dead code, simplified calculations
* oopsie
* track potentially dirty images and hash them
* untrack only first page of the image in case of head access
* rebase, initialize hash, fix bounds check
* include image tail in the calculations
2024-11-26 22:45:15 +02:00