Sascha Willems
3e55366434
Added sample fro dynamic rendering using VK_KHR_dynamic_rendering
2021-11-06 19:45:22 +01:00
Sascha Willems
e79634e4da
Disable UI overlay for triangle sample
...
Fixes validation layer errors
Refs #876
2021-10-24 13:19:05 +02:00
Sascha Willems
a5022d6d5f
Fixing several validation related issues
2021-10-24 13:00:11 +02:00
Sascha Willems
6f723ea1e0
Remove buffer copies for gltf indices
...
Directly access the values from the buffer instead
Fixes #894
2021-10-24 12:07:01 +02:00
Sascha Willems
d72ff3c8d5
Use Vulkan bool type for material specialization
...
Refs #876
2021-10-24 11:53:03 +02:00
Sascha Willems
f00568f482
Add ray tracing callable shaders to solution
2021-10-18 22:00:40 +02:00
Sascha Willems
711743ad69
Refactoring
2021-10-17 11:11:19 +02:00
Sascha Willems
241583774c
Destroy fence
2021-10-17 10:50:43 +02:00
Sascha Willems
7543ef14b8
Destroy fence
2021-10-17 10:48:14 +02:00
Sascha Willems
adb0528184
Proper mip tail memory cleanup
...
Refs #882
2021-10-17 10:45:09 +02:00
Sascha Willems
a5c2a8e757
Fix pipeline stage for mip tail barrier
...
Refs #882
2021-10-17 10:26:30 +02:00
neither-nor
52c32c2d7b
fix layout transition
2021-09-28 16:21:35 +08:00
neither-nor
1f6d425933
Fix texturesparseresidency memory and image layout bugs
2021-09-28 15:29:01 +08:00
Sascha Willems
eb11297312
Enable inline uniform block feature
...
Fixes #875
2021-09-04 09:28:16 +02:00
Christian Forfang
6a1a8988d0
Fix bound range in dynamicuniformbuffer sample
2021-08-31 12:27:52 +02:00
Sascha Willems
3b1ff1eece
Ray tracing samples can now also use the UI overlay
...
General cleanup, changed default settings.overlay value
2021-08-28 12:59:10 +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
Per Inge Mathisen
488aa9c220
Fix rayquery demo to not require full raytracing support.
2021-07-29 12:22:47 +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
ad2d922166
Three vertices are sufficient for the full screen background
...
Fixes #843
2021-06-28 22:03:36 +02: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
Per Inge Mathisen
45ba247b55
Add support for rendering for the headless extension
2021-04-27 13:53:07 +02: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
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
70ec72e790
SSAO sample: Render Sponza with textures
2021-02-25 19:16:41 +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
a86bdc2c44
Finished descriptor indexing example
2021-01-28 22:04:25 +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
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
1042f76071
Fixed comments
2021-01-17 20:08:49 +01:00
diharaw
78940988b9
Replace core VkDescriptorSetVariableDescriptorCountAllocateInfo structure with EXT version.
2020-12-16 10:51:27 +00:00
diharaw
4a11ae0c5a
Added descriptorindexing sample to CMake.
...
Fixed variable descriptor size validation error.
2020-12-16 10:40:23 +00:00
Sascha Willems
846413cc4b
Release resources, fixes validation
...
Scene setup
2020-12-12 08:40:28 +01:00
Sascha Willems
a369e6ed96
Apply shader group handle alignment where required
...
Fixes #787
2020-12-12 08:20:33 +01:00
Sascha Willems
f79c9705b4
Added samples for ray queries and callable ray tracing shaders
2020-11-23 12:25:49 +01:00
Sascha Willems
08be260685
Updated ray tracing samples to final ray tracing extensions
2020-11-23 12:15:57 +01:00
Sascha Willems
400d9bd8a3
Remove unnecessary shader group type
2020-11-17 20:44:19 +01:00
Sascha Willems
33313952aa
Use KHR struct instead of NV
2020-11-14 15:21:49 +01:00
Sascha Willems
b9f0ac91d2
Optimizations and code-cleanup
...
Fixes #767
2020-10-09 11:07:19 +02:00
Sascha Willems
5418a75799
OpenMP
2020-09-17 14:06:21 +02:00
Sascha Willems
5b357931ec
Enable OpenMP
...
Use proper loop variable types
Fixes #759
2020-09-17 13:55:26 +02:00
Sascha Willems
3cb3df4cbf
Merge branch 'variable_rate_shading'
2020-09-13 10:28:03 +02:00
Nicolas Caramelli
c13a715ead
Add DirectFB WSI support ( #761 )
2020-09-13 10:12:33 +02:00
Sascha Willems
07970bb1e3
Proper cleanup
2020-09-12 13:06:39 +02:00