Commit graph

5 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
Sascha Willems
652fc3ab00 Code cleanup
Fixes #657
2020-01-24 09:16:52 +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
fb053a5011 Added gl_PerVertex outputs 2016-05-14 21:23:09 +02:00
saschawillems
e45c90f180 Added shadow mapping example 2016-02-28 22:26:11 +01:00