Commit graph

2072 commits

Author SHA1 Message Date
Sascha Willems
d0f0e1698e Removed clang format file
Not used in most samples yet, causing confusion
2021-08-28 11:38:45 +02:00
ShoufengYang
f4197f93b4
Fixed the first frame render error.
The compute commands should be submit before the graphic command. If not, there is a logical error that cause the first frame render error.  Since the graphic rendering need to sample the compute shader 's output image.
2021-08-03 23:22:48 +08:00
ShoufengYang
fb4187a916
Update computeshader.cpp
There is a logical error that cause the first frame render error.  Since the graphic rendering need to sample the compute shader 's output image, so the compute command need to run  before the graphic rendering. If not, the graphic rendering will sample the gabage data (computer's output image) for the first frame and present on the display screen.This issue can be easy to be reproduced when the GPU device has a lower performance.
2021-08-03 23:04:40 +08:00
Sascha Willems
ab2d4060d2
Merge pull request #860 from per-mathisen-arm/benchmark1frame
Add option to only render a given number of frames.
2021-07-31 13:05:35 +02:00
Sascha Willems
5684b20951
Merge pull request #859 from per-mathisen-arm/fixrayquery
Fix rayquery demo to not require full raytracing support.
2021-07-31 13:05:09 +02:00
Per Inge Mathisen
488aa9c220 Fix rayquery demo to not require full raytracing support. 2021-07-29 12:22:47 +02:00
Per Inge Mathisen
5f72b0faa3 Add option to only render a given number of frames.
This is useful on very slow targets, such as GPU emulators.
2021-07-29 12:15:58 +02:00
Sascha Willems
2c8b29b39c Corrected link to displacement sample
Fixes #856
2021-07-28 20:40:56 +02:00
Sascha Willems
0a8a274bd4 Fixed subpass dependency 2021-07-13 17:43:54 +02:00
Sascha Willems
d3134465e2 Resize attachments on window resize and update descriptor
Sample no longer crashes on resize
Fixes #838
2021-07-09 08:14:59 +02:00
Sascha Willems
3fb787a610 Updated Vulkan headers to 1.2.184 2021-07-08 21:30:47 +02:00
Sascha Willems
2933cb6ea3
Merge pull request #818 from Lephar/master
Removed duplicate local_size_x from computecullandlod/cull.comp
2021-06-28 22:05:02 +02:00
Sascha Willems
ad2d922166 Three vertices are sufficient for the full screen background
Fixes #843
2021-06-28 22:03:36 +02:00
Sascha Willems
ac4deedd0c
Merge pull request #830 from expenses/master
Add a `Running` section to the readme that provides info about multi-gpu setups
2021-06-20 20:16:32 +02:00
Sascha Willems
b972c620c5
Merge pull request #850 from mdinkov/master
Missing shaders in Android Packages for raytracingshadows and raytracingreflections
2021-06-20 20:15:45 +02:00
dinkovm
bf538e772f Missing shaders in Android Packages for raytracingshadows and raytracingreflections 2021-06-17 13:00:51 -04:00
Sascha Willems
0721179003
Merge pull request #817 from rumblehhh/patch-1
Replace VK_VERSION_1_1 with VK_API_VERSION_1_1
2021-06-05 15:11:29 +02:00
Sascha Willems
0887881eac
Merge pull request #832 from per-mathisen-arm/master
Add support for rendering with the headless extension
2021-06-05 15:10:30 +02:00
Sascha Willems
2735ea213e
Merge pull request #812 from tangmi/remove-host-commands
Remove acceleration structure host commands usage
2021-05-31 19:35:24 +02:00
Sascha Willems
434546625f Updated Vulkan Headers to 1.2.178
Don't use VK_NULL_HANDLE for queue family
Fixes #839
2021-05-17 20:39:41 +02:00
Sascha Willems
6180f3d1e9
Merge pull request #831 from tomek-brcm/master
Fixes for embedded systems
2021-05-08 19:24:55 +02:00
Tomek Bury
b212fa0840 Don't fail on startup when input device(s) are not present
The wl_seat protocol may not be available unless input devices (keyboard,
mouse) are connected to the compositor on the target system.

Warn but continue executing examples with default settings.
2021-05-04 17:31:34 +01:00
Tomek Bury
2d47dc6e9c Use pkg_get_variable() for wayland-protocols dir
The CMake function uses cross-compilation setup of the project so it
finds protocols available for the target system.
2021-05-04 17:31:30 +01:00
Ashley
9c26107f5e
Update README.md 2021-04-29 20:05:15 +02:00
Per Inge Mathisen
45ba247b55 Add support for rendering for the headless extension 2021-04-27 13:53:07 +02:00
Ali Emre Gülcü
9a283a1b9b Removed duplicate local_size_x from computecullandlod/cull.comp 2021-03-27 13:37:58 +03:00
rumblehhh
69b92f19ef
Replace VK_VERSION_1_1 with VK_API_VERSION_1_1
VkApplicationInfo::apiVersion must be encoded as major, minor and patch version of the Vulkan API Specification: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#extendingvulkan-coreversions-versionnumbers.
2021-03-16 12:58:02 +00:00
Sascha Willems
a2a604be47 Fix benchmark options
Fixes #815
2021-03-13 14:12:35 +01:00
Sascha Willems
70fc3c4675 Removed no-longer required texture compression feature check 2021-03-13 13:51:09 +01:00
Sascha Willems
5db9781d52 Added HLSL shaders for ray tracing callable sample
Minor cleanup
2021-03-06 16:21:09 +01:00
Sascha Willems
35288a6f2b Added comment on oldSwapChain 2021-03-02 07:33:18 +01:00
Sascha Willems
70ec72e790 SSAO sample: Render Sponza with textures 2021-02-25 19:16:41 +01:00
Sascha Willems
73e538c1b8
Merge pull request #811 from mdinkov/master
Invalid VkSpecializationInfo passed into vkCreateRayTracingPipelinesKHR
2021-02-24 14:09:16 +01:00
Michael Tang
94873f7eaf Remove acceleration structure host commands usage 2021-02-23 18:24:59 -08:00
Martin Dinkov
afc9659856 The test declares VkSpecializationInfo in a localized scope and calls vkCreateRayTracingPipelinesKHR outside of that scope. Thus, by the time vkCreateRayTracingPipelinesKHR is called, VkSpecializationInfo has been destroyed. 2021-02-23 14:53:35 -05:00
Sascha Willems
d2a5c0945a
Merge pull request #807 from per-mathisen-arm/master
Fix compile warning and crash in SSAO test.
2021-02-17 18:33:09 +01:00
Per Inge Mathisen
5042f46388 Fix compile warning and crash in SSAO test.
emptyTexture was not initialized, so when destroying it the
destroy Vulkan functions were called with bogus pointers.
2021-02-15 12:30:38 +01:00
Sascha Willems
0d732cc4a4
Merge pull request #782 from m0ppers/feature/use-gradlew
📝 use gradlew
2021-01-29 19:14:53 +01:00
Sascha Willems
adfc509ebe
Merge pull request #795 from Lucodivo/patch-1
Remove unnecessary comparison
2021-01-29 16:34:06 +01:00
Sascha Willems
165b66a718
Reworked command line argument handling (#804)
* Reworked command line argument handling

Added a new class to handle these
2021-01-29 15:40:52 +01:00
Sascha Willems
b1eafdbcc6 Updated readme 2021-01-29 10:49:41 +01:00
Sascha Willems
b29d8dc589 Added descriptor indexing example android build files 2021-01-29 10:49:32 +01:00
Sascha Willems
dcb69451cf Added descriptor indexing example to readme 2021-01-29 10:28:04 +01:00
Sascha Willems
ad447e10c4 Added HLSL shader for descriptor indexing sample 2021-01-29 09:58:41 +01:00
Sascha Willems
a86bdc2c44 Finished descriptor indexing example 2021-01-28 22:04:25 +01:00
Sascha Willems
ca17431794
Merge pull request #797 from caramelli/master
Fix long options for width and height
2021-01-28 19:39:49 +01:00
Sascha Willems
6994d17448
Merge pull request #791 from diharaw/variable_descriptor_validation
Added descriptorindexing sample to CMake and fixed variable descriptor size validation errors
2021-01-28 19:31:05 +01:00
Sascha Willems
fa54451709
Merge pull request #802 from jeromenxp/move_extension_name_declaration
Change scope of validationExt and validationLayerName variables
2021-01-28 19:30:40 +01: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
Sascha Willems
334692a6ef Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2021-01-17 20:08:55 +01:00