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
Sascha Willems
1042f76071
Fixed comments
2021-01-17 20:08:49 +01:00
Sascha Willems
3cd37f622b
GitHub actions ( #799 )
...
* switchting to github actions
2021-01-15 21:15:16 +01:00
Sascha Willems
3101a523d6
Merge pull request #798 from baryluk/patch-2
...
Add VK_PHYSICAL_DEVICE_TYPE_CPU to string
2021-01-11 20:13:19 +01:00
Sascha Willems
336a40ec7f
Merge pull request #796 from tkeri/missing_android_gltf
...
Add missing gltf assets to 'build.gradle'
2021-01-08 12:57:37 +01:00
Witold Baryluk
be24a9c583
Add VK_PHYSICAL_DEVICE_TYPE_CPU to string
2021-01-07 19:54:33 +00:00
Nicolas Caramelli
9f00c24388
Fix long options for width and height
2021-01-07 17:05:42 +01:00
Tamas Keri
f5d4cce55e
Add missing gltf assets to 'build.gradle'
...
Vulkan applications: displacement, particlefire, pushconstants.
2021-01-07 12:48:41 +01:00
Connor Haskins
750a37f633
Remove unnecessary comparison
...
It is not possible for swapchainPresentMode to ever be VK_PRESENT_MODE_MAILBOX_KHR given the break in the above if block
2020-12-20 01:17:40 -08: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
Jakub Kuderski
a53721f0dc
[NFC] Fix clang warnings
...
Resolves the following clang-10 compiler warnings:
```
$ ninja
[65/177] Building CXX object examples/CMakeFiles/oit.dir/oit/oit.cpp.o
../examples/oit/oit.cpp:501:7: warning: 'buildCommandBuffers' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
void buildCommandBuffers()
^
../base/vulkanexamplebase.h:351:15: note: overridden virtual function is here
virtual void buildCommandBuffers();
^
1 warning generated.
[78/177] Building CXX object examples/CMakeFiles/inlineuniformblocks.dir/inlineuniformblocks/inlineuniformblocks.cpp.o
../examples/inlineuniformblocks/inlineuniformblocks.cpp:19:27: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
return ((float)rand() / (RAND_MAX));
~ ^~~~~~~~
/usr/include/stdlib.h:86:18: note: expanded from macro 'RAND_MAX'
^~~~~~~~~~
1 warning generated.
[84/177] Building CXX object examples/CMakeFiles/pushconstants.dir/pushconstants/pushconstants.cpp.o
../examples/pushconstants/pushconstants.cpp:24:28: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-int-float-conversion]
return ((float) rand() / (RAND_MAX));
~ ^~~~~~~~
/usr/include/stdlib.h:86:18: note: expanded from macro 'RAND_MAX'
^~~~~~~~~~
```
2020-12-14 16:44:23 -05:00
Sascha Willems
846413cc4b
Release resources, fixes validation
...
Scene setup
2020-12-12 08:40:28 +01:00
Sascha Willems
3cf8fb81e3
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2020-12-12 08:21:10 +01:00
Sascha Willems
a369e6ed96
Apply shader group handle alignment where required
...
Fixes #787
2020-12-12 08:20:33 +01:00
Sascha Willems
6000569cd0
Merge pull request #785 from kuhar/pragma
...
Don't use pragma once in .cpp file
2020-12-09 07:00:23 +01:00
Jakub Kuderski
66a4f5af22
Don't use pragma once in .cpp file
...
Fix a compiler warning.
2020-12-04 15:02:18 -05:00
michead
8eeb6599d6
render depth to cubemap faces directly
2020-11-28 11:35:18 +00:00
Sascha Willems
21f9cd5251
Fixed typos, better sample descriptions
2020-11-27 21:01:46 +01:00
Andreas Streichardt
b4cf84a06e
📝 use gradlew
2020-11-26 07:38:06 +01:00
Sascha Willems
da2f5d81a4
Merge pull request #779 from SaschaWillems/ray_tracing_final
...
Update to final ray tracing extensions
2020-11-23 12:52:15 +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
02a9be4c62
Updated to Vulkan headers 1.2.162
2020-11-23 12:14:35 +01:00
Philip Rideout
6e2c1a3a6b
Update CMakeLists.txt ( #770 )
...
This fixes the build errors that look like:
source file is not valid UTF-8
This was due to CMake adding object files to the command line after the `-x` argument, which caused them to be interpreted as Objective C++ source code.
2020-11-18 09:17:20 +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
ab10ce1693
Updated GLSL shader compile script
2020-09-21 07:34:04 +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