Commit graph

20 commits

Author SHA1 Message Date
SRSaunders
bdfd4709ff
macOS/iOS fixes plus other generic fixes for clang and validation warnings (#1117)
* Fix clang Objective-C++ flags for macOS command line builds

* Fix getAssetPath() and getShaderBasePath() for macOS command line builds

* Protect debugUtilsMessageCallback() from failing when pMessageIdName is NULL

* Fix a few clang function override and mismatched type warnings

* Fix validation layer warnings on exit for computeraytracing example

* Fix regression in text visibility toggle for textOverlay example

* Support VK_USE_PLATFORM_METAL_EXT vs. deprecated VK_USE_PLATFORM_MACOS_MVK / DVK_USE_PLATFORM_IOS_MVK

* Check dynamic state features before enabling capabilities in dynamicstate example

* Fix vkCmdDraw() vertexCount argument (PARTICLE_COUNT) in particlesystem example

* Update examples list and restore benchmarking script (to top level)

* Fix validation warning in descriptorindexing example

* Fix device max recursion depth validation warnings in ray tracing examples

* Fix OpenMP build settings for texture3d example on all platforms

* Update and simplify build instructions for macOS

* Update CI script with correct library path for libomp on macOS x86_64

* Update CI scipt to install libomp prior to macOS builds

* Trying one more time to get the CI script working for macOS libomp

* Fix vertexCount argument using calculated size in particlesystem example

* Fix combined image descriptor offset calculation in descriptorbuffer example

* macOS: Support non-system level Vulkan SDK installs, with fallback to MoltenVK library
2024-05-04 13:53:08 +02:00
Tom Hochstein
a0ef2fcea6 Fix shaders path for computeheadless and renderheadless 2023-07-12 10:07:39 -05:00
Sascha Willems
d13b9a93bc Replaced outdated android layer names 2022-12-31 10:27:10 +01:00
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
Renamed from renderheadless/renderheadless.cpp (Browse further)