Ben Clayton
301e8abf12
Add command flag for picking between shaders
...
The new `-s`, `--shaders` command line flag allows you to specify whether you want to load the glsl or hlsl shaders.
Defaults to glsl.
Issue: #723
2020-06-01 12:22:28 +01:00
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
662d2b3464
Centralize asset path handling
...
Refs #470
Refs #627
2020-02-17 21:09:27 +01:00
Sascha Willems
eb39c1b8ac
Removed deprecated function
...
Refs #576
2019-05-05 14:18:35 +02:00
saschawillems
df223f5b9b
Result (exit) codes for fatal terminations
2018-01-21 18:28:17 +01:00
saschawillems
4b0bb1a454
Silent error mode as global toggle
2018-01-21 10:58:30 +01:00
saschawillems
d271098464
Silent error mode
2017-08-26 15:05:59 +02:00
saschawillems
ba0cc82e50
Removed unused parameters for image layout transitions and shader loading (Refs #103 )
2017-04-23 11:51:31 +02:00
saschawillems
b399fed33b
Check if file to load texture from exists, display error if not
2017-04-13 22:11:00 +02:00
saschawillems
cfcd34498a
Use macro fro asset path
2017-04-03 20:10:39 +02:00
saschawillems
550d12bdd9
File name capitalization
2017-03-25 12:09:45 +01:00
saschawillems
373f005d9a
Added function for explicit image memory barrier
2017-02-23 19:56:24 +01:00
saschawillems
3779bfe0f7
Revert header extension name change
2017-02-12 13:13:16 +01:00