Commit graph

4 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
plapins
2a5f654750 Fixed bug with a variable consumed by fragment shader not being assigned in a vertex shader. Updated spv file. Added bat file for automatic SPIR-V generation. 2016-09-21 14:38:58 +02:00
saschawillems
444c4b9c24 Updated (multi) indirect draw example 2016-08-01 21:43:47 +02:00