Commit graph

17 commits

Author SHA1 Message Date
Sascha Willems
e52a9342f4 Add command line arguments to headless samples
Those samples can now toggle between glsl and hlsl shaders
Moved command line parster to a separate header
2022-12-31 09:45:01 +01:00
Sascha Willems
6dec0d7ce3
Merge pull request #959 from itoral/fix_depth_stencil_aspects
Fix various cases of image views with incorrect stencil aspect
2022-07-30 08:56:32 +02:00
Stephen Saunders
6ef16905ce Headless examples: update validation layer name & implement macOS VK_KHR_portability_subset / VK_KHR_portability_enumeration 2022-07-27 13:43:52 -04:00
Iago Toral Quiroga
9fef899e42 Fix various cases of image views with incorrect stencil aspect 2022-06-30 09:40:18 +02:00
jeromenxp
1b22456d07 Change scope of validationExt and validationLayerName variables
Pointer to a variable declared into a block statement is stored and used outside of the block by vkCreateInstance. This can lead to segmentation fault.
Move the declaration of validationExt/validationLayerName outside of the block to fix the crash.
2021-01-18 17:41:41 +01:00
Dejan Trajkovic
94a4a2bb32 Correct shadersPath for renderheadless project 2020-06-09 06:33:38 +02:00
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
d1fbf8d00a
Skeletalanimation fix (#671)
* Fixed anc code cleanup for skeletal animation

Refs #669

* Fix android build
2020-02-20 14:25:29 +01:00
Sascha Willems
662d2b3464 Centralize asset path handling
Refs #470
Refs #627
2020-02-17 21:09:27 +01:00
saschawillems
33870e46e3 Code cleanup
Fixes #462
2018-11-10 20:32:48 +01:00
saschawillems
e365faf2b6 Removed unused variables
Fixes #461
2018-11-10 20:13:25 +01:00
saschawillems
79ac92bc3b Validation layer present check 2018-05-11 08:43:20 +02:00
saschawillems
be78fd0474 Removed deprecated app_dummy call 2018-05-11 08:31:26 +02:00
Christian Forfang
d29bbe792c Fix layout transitions in renderheadless
Old code had an UNDEFINED to TRANSFER_SRC_OPTIMAL transitions
causing the read-back image to also be undefined.
2018-01-28 20:53:22 +01:00
saschawillems
d46203b890 Clean validation, code comments 2018-01-28 14:16:29 +01:00
saschawillems
94a076e1ae Moved example source files into sub folder 2017-11-12 19:32:09 +01:00