summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/shaders (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vk_compute_pass: Implement indexed quadsReinUsesLisp2020-04-171-0/+50
| | | | | | | | | | | | | Implement indexed quads (GL_QUADS used with glDrawElements*) with a compute pass conversion. The compute shader converts from uint8/uint16/uint32 indices to uint32. The format is passed through push constants to avoid having different variants of the same shader. - Used by Fast RMX - Used by Xenoblade Chronicles 2 (it still has graphical due to synchronization issues on Vulkan)
* renderer_vulkan/shader: Add helper GLSL shadersReinUsesLisp2019-12-164-0/+122
These shaders are used to specify code that is not dynamically generated in the Vulkan backend. Instead of packing it inside the build system, it's manually built and copied to the C++ file to avoid adding unnecessary build time dependencies. quad_array should be dropped in the future since it can be emulated with a memory pool generated from the CPU.