shadPS4/src/video_core/buffer_cache
TheTurtle b08baaeb13
video_core: Improve handling of image buffer aliases (#757)
* texture_cache: Use invalidate threshhold

* It's possible for shaders to bind huge buffers and only write to lower portion of it. This is a problem if upper parts of the buffer overlap with render targets. If the image is very far away from buffer base it's unlikely the shader will want to write it, so skip invalidation for it

* video_core: Allow using texture cache to validate texture buffers

* texture_cache: Use buffer cache in all cases for data source

* Allows to correctly handle compute written micro tiled textures

* texture_cache: Fix depth pitch

* kernel: Remove missed code

* clang format

* video_core: Adjust depth format

* buffer_cache: Do not cache buffer views

* thread_management: Do not call createMutex on unlock

* temp: Revert this when pr is done

* buffer_cache: Dont skip cpu uploads with image sync

* Sometimes image does not fully overlap with a region

* fix build

* video_core: Improve invalidate heuristic

* small fixes

* video_core: Hopefully fix some vertex explosions
2024-09-05 17:25:45 +03:00
..
buffer.cpp video_core: Improve handling of image buffer aliases (#757) 2024-09-05 17:25:45 +03:00
buffer.h video_core: Improve handling of image buffer aliases (#757) 2024-09-05 17:25:45 +03:00
buffer_cache.cpp video_core: Improve handling of image buffer aliases (#757) 2024-09-05 17:25:45 +03:00
buffer_cache.h video_core: Improve handling of image buffer aliases (#757) 2024-09-05 17:25:45 +03:00
memory_tracker_base.h video_core: Implement guest buffer manager (#373) 2024-08-08 15:02:10 +03:00
range_set.h video_core: Implement guest buffer manager (#373) 2024-08-08 15:02:10 +03:00
word_manager.h video_core: Implement guest buffer manager (#373) 2024-08-08 15:02:10 +03:00