Commit graph

7 commits

Author SHA1 Message Date
Ben Clayton
ca884587a4 Move shaders into glsl and hlsl directories
Move `data/shaders` to `data/shaders/glsl`
Move `data/hlsl` to `data/shaders/hlsl`

Fix up shader paths in the cpp files to point to the new glsl location.

`data/shaders/hlsl/compile.py` still overwrites the glsl .spv files (for
now).

Issue: #723
2020-06-01 12:22:28 +01:00
Chris Forbes
a05d90c221 Recompile shaders with more modern glslang
The SPIRV previously checked in had various issues -- most commonly, it
would use the VertexId and InstanceId builtins rather than the
replacmenet VertexIndex and InstanceIndex builtins required by Vulkan.
2019-09-06 09:59:45 +01:00
saschawillems
130e1d5262 Replaced fullscreen quad from index and vertex buffer with fullscreen triangle generated in VS, code cleanup and cleaner naming 2016-08-13 22:08:13 +02:00
saschawillems
e74e37cc16 Color gradient ramp for glowing parts of the mesh 2016-08-13 16:37:53 +02:00
saschawillems
cb5bd093ec Fold layout transitions into subpass (Refs #155), refactoring of offscreen render pass 2016-08-13 15:41:36 +02:00
saschawillems
dfda2d2622 Use Vulkan result check macro, code cleanup, added text overlay 2016-05-24 20:49:15 +02:00
saschawillems
c91341813c Added Vulkan examples sources! 2016-02-16 15:07:25 +01:00