Commit graph

2714 commits

Author SHA1 Message Date
Sascha Willems
a2d5a1fd44 Simplify descriptor setup
Refs #1157
2024-10-06 15:17:11 +02:00
Sascha Willems
6b91f3c493 Cleanup and simplification
Only use one staging buffer for both vertices and indices
2024-10-03 11:46:38 +02:00
Sascha Willems
1615f95d44 Trying to fix linux library symlinks 2024-09-16 21:24:37 +02:00
Sascha Willems
d3b574e96c Trying to fix linux library symlinks 2024-09-16 21:19:10 +02:00
Sascha Willems
efac60f023 Trying to fix linux library symlinks 2024-09-16 21:19:00 +02:00
Sascha Willems
8e73bac88b Copyright 2024-09-15 14:58:08 +02:00
Sascha Willems
c7eed13c7c Code cleanup 2024-09-14 20:27:08 +02:00
Sascha Willems
50a3f5f820 Remove Linux library
Download as part of CI
2024-09-14 17:53:43 +02:00
Sascha Willems
a46835e63b Update libs 2024-09-14 17:42:21 +02:00
Sascha Willems
d63c814e44 Update libs 2024-09-14 17:39:10 +02:00
Sascha Willems
a5ace0608b Added Vulkan 1.3 version of the basic triangle samples
Uses dynamic rendering and sync2 to simplify things
2024-09-14 16:59:51 +02:00
Sascha Willems
5144cb8a99 Fix annotations for WinMain 2024-09-05 21:51:57 +02:00
Sascha Willems
dc0f1c71cc Comment 2024-09-05 21:35:58 +02:00
Sascha Willems
2873439ec8 Fix ray tracing related validation errors 2024-09-01 19:08:39 +02:00
Sascha Willems
359a3b07ad Updated Vulkan headers to 1.3.295 2024-09-01 18:43:58 +02:00
randomnumgen1
09dbef8339
wayland fullscreen (#1147)
* wayland fullscreen

attempt 1 at adding fullscreen

* wayland

test 2

---------

Co-authored-by: jamie scott <jamiescott1995@outlook.com>
2024-08-02 19:11:48 +02:00
Sascha Willems
8cb518ba54
Add new sample for timeline semaphores (#1145)
* Started work on a timeline semaphore sample

* Properly increas timeline semaphore value

* Added timeline semaphore sample to readm

* Code cleanup, comments

* Removed toto

* Added android build files for timeline semaphore sample
2024-07-21 09:31:42 +02:00
Sascha Willems
8b4ee59033
Add new sample for buffer device address (#1144)
* Started work on buffer device address sample

* Code cleanup

* Added BDA sample to readm

* Added android build files for BDA sample

* Replaces all uniform buffers with references
Comments and code cleanup
2024-07-03 22:04:57 +02:00
Sascha Willems
c598b1e7ab
Move entry point macros to separate header (#1120)
* Move entry point macros to separate header

* Minor code cleanup

* Updated macos CI
2024-07-03 21:28:20 +02:00
Sascha Willems
4d2117d3d9 Added mesh and task shader support to shader compilation scripts
Simplified file extension checks
Fixes #1143
2024-06-23 20:09:05 +02:00
Sascha Willems
d868ac8277 Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2024-06-23 19:51:54 +02:00
Sascha Willems
2e1abd1c54 Check for image feature support
Code cleanup
Comments
2024-06-21 11:28:22 +02:00
Vovan675
fc9753a8fc
Fix SSAO blur range (#1122)
* Fix ssao blur range

* Recompile ssao blur shaders

---------

Co-authored-by: Vladimir Kosachev <vovan675@unigine.com>
2024-06-21 07:56:26 +02:00
Sascha Willems
fd7f93b0a7 Minor repo cleanup 2024-06-21 07:54:49 +02:00
SRSaunders
cc2c05ba45
Fix UI overlay scale factor for readable display on iOS devices (#1142) 2024-06-21 07:50:07 +02:00
Sascha Willems
a9a1b95e2f Added android build files for host image copy sample 2024-06-20 20:27:34 +02:00
Sascha Willems
73a95d411d Added new sample to readme 2024-06-20 17:51:08 +02:00
Sascha Willems
8317c16960 Added comments 2024-06-20 17:32:25 +02:00
Sascha Willems
122793da95 Started working on sample for VK_EXT_host_image_copy
First working version
Work-in-progress
2024-06-20 16:50:43 +02:00
Sascha Willems
196e6a4c6b Update and document shader compilation scripts
Will no longer fail with certain shaderStages
Refs #1126
2024-06-04 21:31:24 +02:00
Sascha Willems
9c25dad12c Minor code cleanup 2024-05-25 18:02:38 +02:00
Sascha Willems
d93c4b2e4b Updated documentation for C++ standard requirement
Still had 11, though CMake has been using 14 for quite some time now
2024-05-25 12:18:24 +02:00
SRSaunders
202cfbb49e
Enable debugPrintf example on macOS using validation layer (#1124) 2024-05-25 11:57:44 +02:00
SRSaunders
4252b0306d
Fix another markdown typo in MoltenVK docs (#1130) 2024-05-24 07:33:00 +02:00
Sascha Willems
52511a76db UI shader file names
Minor window handling code cleanup
2024-05-23 22:20:44 +02:00
Sascha Willems
be3d9275ce Remove outdated comment 2024-05-23 22:12:55 +02:00
Sascha Willems
a4b5c29766 Upadte CI actions 2024-05-23 22:10:16 +02:00
Sascha Willems
17f15d41a2 Renamed UIOverlay member 2024-05-23 22:02:17 +02:00
Sascha Willems
fb881ab76f Code cleanup, rename ui overlay property 2024-05-23 21:56:42 +02:00
Sascha Willems
9a8710a57c Cap UI overlay rate
No need to update each frame, esp. for samples with high frame rates
2024-05-23 21:52:24 +02:00
Wei Liao
a3a75219b6
fix typo in BUILD.md (#1129) 2024-05-23 19:39:57 +02:00
SRSaunders
ba927eab6c
Add updated iOS App support to the Vulkan examples (#1119)
* 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

* Add iOS App support for Vulkan examples on simulator and physical devices

* Add continuous integration (CI) script for iOS

* Update CI script to build iOS using Xcode 14 via macos-12 runner-image

* Update iOS project docs for Xcode 14 and rename ios folder to apple

* Update macOS docs and CI script to use LIBOMP_PREFIX for OpenMP library path

* Delete benchmark-all-validate.py

Delete benchmark script as per feedback from Sascha Willems

* Update debugprintf example documentation in examples.h
2024-05-22 21:07:27 +02:00
takayhan-AMD
3d4446fa15
Apply a random seed when NOT in benchmark mode to have 100% deterministic runs in all samples (#1127)
* Apply a random seed when NOT in benchmark mode to have 100% deterministic runs

These samples lack the check for benchmark.active when applying a random seed, which is done for other samples.

* Update texture3d.cpp
2024-05-18 10:01:01 +02:00
Vovan675
478b6c39bf
Fix SSAO_NOISE_DIM for android (#1121)
Comment states that it should be "smaller", but its the opposite I think
2024-05-15 18:52:31 +02:00
takayhan-AMD
3a941167d1
Fix computeshader sample first frame being rendered with bogus UBOs (#1125)
After this change, the sample's render() method would first update its UBO and then start drawing stuff so as to have valid frame output from frame 0, similarly to other samples.
2024-05-15 18:32:32 +02:00
Sascha Willems
9756ad8c23 Post PR cleanup
Use rayTracingPipelineProperties from base class instead of expliclity querying it in the sample
2024-05-04 14:06:18 +02:00
Sascha Willems
fee8bcb434 Post PR clean up
Removed script (don't want to maintain it)
2024-05-04 13:54:28 +02:00
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
Sascha Willems
4a0c8b8f23 Code cleanup, better naming, moved comments to header 2024-05-02 20:17:00 +02:00
Sascha Willems
0b5281d087 Updated HLSL readme 2024-05-01 18:33:27 +02:00