summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3732 from lioncash/headerbunnei2020-05-021-1/+0
|\ | | | | vulkan: Remove unnecessary includes
| * vulkan: Remove unnecessary includesLioncash2020-04-291-1/+0
| | | | | | | | | | | | | | Reduces some header churn and reduces rebuilds when some header internals change. While we're at it we can also resolve a missing include in buffer_cache.
* | Merge pull request #3693 from ReinUsesLisp/clean-samplersbunnei2020-05-021-2/+2
|\ \ | |/ |/| shader/texture: Support multiple unknown sampler properties
| * shader_ir: Turn classes into data structuresReinUsesLisp2020-04-231-2/+2
| |
* | Merge pull request #3784 from ReinUsesLisp/shader-memory-utilbunnei2020-04-281-59/+10
|\ \ | | | | | | shader/memory_util: Deduplicate code
| * | shader/memory_util: Deduplicate codeReinUsesLisp2020-04-261-59/+10
| |/ | | | | | | | | | | | | | | Deduplicate code shared between vk_pipeline_cache and gl_shader_cache as well as shader decoder code. While we are at it, fix a bug in gl_shader_cache where compute shaders had an start offset of a stage shader.
* / vk_pipeline_cache: Unify pipeline cache keys into a single operationReinUsesLisp2020-04-231-0/+18
|/ | | | | This allows us to call Common::CityHash and std::memcmp only once for GraphicsPipelineCacheKey. While we are at it, do the same for compute.
* Merge pull request #3677 from FernandoS27/better-syncbunnei2020-04-231-4/+12
|\ | | | | Introduce Predictive Flushing and Improve ASYNC GPU
| * ShaderCache/PipelineCache: Cache null shaders.Fernando Sahmkow2020-04-221-4/+12
| |
* | vk_pipeline_cache: Fix unintentional memcpy into optionalReinUsesLisp2020-04-231-2/+4
|/ | | | | | | | The intention behind this was to assign a float to from an uint32_t, but it was unintentionally being copied directly into the std::optional. Copy to a temporary and assign that temporary to std::optional. This can be replaced with std::bit_cast<float> once we are in C++20.
* fixed_pipeline_state: Pack rasterizer stateReinUsesLisp2020-04-191-3/+3
| | | | Reduce FixedPipelineState's size to 600 bytes.
* fixed_pipeline_state: Pack attribute stateReinUsesLisp2020-04-191-1/+1
| | | | Reduce FixedPipelineState's size from 1384 to 664 bytes
* renderer_vulkan: Drop Vulkan-HppReinUsesLisp2020-04-111-36/+57
|
* Shader/Pipeline Cache: Use VAddr instead of physical memory for addressing.Fernando Sahmkow2020-04-061-18/+20
|
* vk_pipeline_cache: Remove unused variableReinUsesLisp2020-03-191-1/+0
|
* vk_rasterizer: Reimplement clears with vkCmdClearAttachmentsReinUsesLisp2020-03-151-2/+3
|
* vk_shader_decompiler: Use registry for specializationReinUsesLisp2020-03-131-10/+7
|
* video_core: Rename "const buffer locker" to "registry"ReinUsesLisp2020-03-091-2/+2
|
* Merge pull request #3301 from ReinUsesLisp/state-trackerRodrigo Locatti2020-03-091-5/+0
|\ | | | | video_core: Remove gl_state and use a state tracker based on dirty flags
| * gl_rasterizer: Remove dirty flagsReinUsesLisp2020-02-281-5/+0
| |
* | vk_shader_decompiler: Implement indexed texturesReinUsesLisp2020-02-241-35/+64
|/ | | | | | | Implement accessing textures through an index. It uses the same interface as OpenGL, the main difference is that Vulkan bindings are forced to be arrayed (the binding index doesn't change for stacked textures in SPIR-V).
* vk_shader_decompiler: Disable default values on unwritten render targetsReinUsesLisp2020-01-241-3/+0
| | | | | | | | | Some games like The Legend of Zelda: Breath of the Wild assign render targets without writing them from the fragment shader. This generates Vulkan validation errors, so silence these I previously introduced a commit to set "vec4(0, 0, 0, 1)" for these attachments. The problem is that this is not what games expect. This commit reverts that change.
* vk_pipeline_cache: Initial implementationReinUsesLisp2020-01-071-0/+352
| | | | | Given a pipeline key, this cache returns a pipeline abstraction (for graphics or compute).
* vk_pipeline_cache: Add file and define descriptor update template fillerReinUsesLisp2020-01-071-0/+43
This function allows us to share code between compute and graphics pipelines compilation.