summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2022-03-22Include <bit> header when std::count{r,l}_zero is usedBilly Laws1-0/+2
Needed for compilation with older libc++ releases
2022-01-30shaders: Add U64->U32x2 Atomic fallback functionsameerj1-1/+118
2022-01-29spirv_atomic: Define U32x2 storage buffers for 64-bit storage atomicsameerj1-2/+2
Some drivers do not support 64-bit atomics, and fallback to atomically modifying U32x2 vectors. This change ensures that U32x2 storage vectors are defined in the spir-v shader when 64-bit atomics are used. Fixes a hang on some devices, notably Intel GPUs, when booting Pokemon Legends Arceus
2021-12-06emit_spirv: Reduce emit_spirv.h include overheadameerj1-0/+1
emit_spirv.h is included in video_core, which was propagating further includes that video_core did not depend on.
2021-07-23shader: Add loggingReinUsesLisp1-3/+3
2021-07-23Move SPIR-V emission functions to their own headerReinUsesLisp1-0/+1
2021-07-23spirv: Replace Constant/ConstantComposite with Const helperameerj1-8/+8
2021-07-23spirv: Fix non-atomic 64-bit storeameerj1-1/+1
2021-07-23spirv: Rework storage buffers and shader memoryReinUsesLisp1-207/+126
2021-07-23shader: Implement ATOM/S and REDameerj1-0/+528