ryujinx/Ryujinx.Graphics.Vulkan/Shaders
gdkchan f82309fa2d
Vulkan: Implement multisample <-> non-multisample copies and depth-stencil resolve (#3723)
* Vulkan: Implement multisample <-> non-multisample copies and depth-stencil resolve

* FramebufferParams is no longer required there

* Implement Specialization Constants and merge CopyMS Shaders (#15)

* Vulkan: Initial Specialization Constants

* Replace with specialized helper shader

* Reimplement everything

Fix nonexistant interaction with Ryu pipeline caching
Decouple specialization info from data and relocate them
Generalize mapping and add type enum to better match spv types
Use local fixed scopes instead of global unmanaged allocs

* Fix misses in initial implementation

Use correct info variable in Create2DLayerView
Add ShaderStorageImageMultisample to required feature set

* Use texture for source image

* No point in using ReadOnlyMemory

* Apply formatting feedback

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Apply formatting suggestions on shader source

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

Co-authored-by: gdkchan <gab.dark.100@gmail.com>

* Support conversion with samples count that does not match the requested count, other minor changes

Co-authored-by: mageven <62494521+mageven@users.noreply.github.com>
2022-11-02 18:17:19 -03:00
..
ChangeBufferStrideShaderSource.comp Restride vertex buffer when stride causes attributes to misalign in Vulkan. (#3679) 2022-09-08 20:30:19 -03:00
ColorBlitClearAlphaFragmentShaderSource.frag Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ColorBlitFragmentShaderSource.frag Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ColorBlitVertexShaderSource.vert Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ColorClearFragmentShaderSource.frag Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ColorClearVertexShaderSource.vert Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
ColorCopyBetweenMsNonMs.comp Vulkan: Implement multisample <-> non-multisample copies and depth-stencil resolve (#3723) 2022-11-02 18:17:19 -03:00
ShaderBinaries.cs Vulkan: Implement multisample <-> non-multisample copies and depth-stencil resolve (#3723) 2022-11-02 18:17:19 -03:00