summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader_cache.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* VideoCore: implement channels on gpu caches.Fernando Sahmkow2022-10-061-18/+15
|
* code: dodge PAGE_SIZE #defineKyle Kienapfel2022-08-201-6/+6
| | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* video_core: Replace lock_guard with scoped_lockMerry2022-04-071-1/+1
|
* video_core/shader_cache: Take std::span in RemoveShadersFromStorage()Lioncash2022-02-011-2/+2
| | | | | Same behavior, but without the need to move into the function to avoid an allocation.
* shader: Initial OpenGL implementationReinUsesLisp2021-07-231-0/+17
|
* shader: Move pipeline cache logic to separate filesReinUsesLisp2021-07-231-0/+233
Move code to separate files to be able to reuse it from OpenGL. This greatly simplifies the pipeline cache logic on Vulkan. Transform feedback state is not yet abstracted and it's still intrusively stored inside vk_pipeline_cache. It will be moved when needed on OpenGL.