aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/CodeGen
AgeCommit message (Collapse)Author
2023-06-15Implement Load/Store Local/Shared and Atomic shared using new instructions ↵gdkchan
(#5241) * Implement Load/Store Local/Shared and Atomic shared using new instructions * Remove now unused code * Fix base offset register overwrite * Fix missing storage buffer set index when generating GLSL for Vulkan * Shader cache version bump * Remove more unused code * Some PR feedback
2023-06-08Remove barrier on Intel if control flow is potentially divergent (#5044)gdkchan
* Remove barrier on Intel if control flow is potentially divergent * Shader cache version bump
2023-06-03Implement shader storage buffer operations using new Load/Store instructions ↵gdkchan
(#4993) * Implement storage buffer operations using new Load/Store instruction * Extend GenerateMultiTargetStorageOp to also match access with constant offset, and log and comments * Remove now unused code * Catch more complex cases of global memory usage * Shader cache version bump * Extend global access elimination to work with more shared memory cases * Change alignment requirement from 16 bytes to 8 bytes, handle cases where we need more than 16 storage buffers * Tweak preferencing to catch more cases * Enable CB0 elimination even when host storage buffer alignment is > 16 (for Intel) * Fix storage buffer bindings * Simplify some code * Shader cache version bump * Fix typo * Extend global memory elimination to handle shared memory with multiple possible offsets and local memory
2023-05-26Force reciprocal operation with value biased by constant to be precise on ↵gdkchan
macOS (#5110) * Force operations to be precise in some cases on SPIR-V * Make it a bit more strict, add comments * Shader cache version bump
2023-05-25Generate scaling helper functions on IR (#4714)gdkchan
* Generate scaling helper functions on IR * Delete unused code * Split RewriteTextureSample and move gather bias add to an earlier pass * Remove using * Shader cache version bump
2023-05-20Replace constant buffer access on shader with new Load instruction (#4646)gdkchan
2023-05-20SPIR-V: Only allow implicit LOD sampling on fragment (#5026)riperiperi
2023-05-11Enable explicit LOD for array textures with depth compare on SPIR-V (#4892)gdkchan
2023-04-27Move solution and projects to srcTSR Berry