jonnxie
c15d44e855
Fixed loadNode function memory leak bug.
2022-03-22 10:59:03 +08:00
jonnxie
baa2c16464
Fixed loadAnimation function memory leak bug.
2022-03-22 09:38:39 +08:00
Sascha Willems
821a0659a7
Merge pull request #924 from SaschaWillems/sample_vertexattributes
...
Add vertex attributes sample
2022-01-22 10:19:24 +01:00
robotchaoX
60ec305bdc
fix example oit build for Android failed
2022-01-21 14:13:21 +08:00
Sascha Willems
5f1aac61ca
Started working on sample showing comparing separate/interleaved vertex attributes
2021-12-26 18:42:03 +01:00
Sascha Willems
91958acad2
Only destroy ImGui context of != null
...
Fixes #911
2021-12-15 19:32:47 +01:00
Rajnesh Kanwal
774bb42ceb
Fixes memory leak due to ImGui context not being destroyed.
2021-12-04 15:35:07 +00:00
Sascha Willems
3e55366434
Added sample fro dynamic rendering using VK_KHR_dynamic_rendering
2021-11-06 19:45:22 +01:00
Christian Forfang
13ff9e5019
dstAccessMask should be VK_ACCESS_SHADER_READ_BIT
2021-10-16 16:38:55 +02:00
Christian Forfang
33cb572058
Minor fix to access mask
...
- Given newLayout = LAYOUT_SHADER_READ_ONLY_OPTIMAL, upcoming
usage is unlikely to be TRANSFER_READ_BIT.
- dstAccessMask = FRAGMENT_SHADER makes more sense
2021-09-05 12:17:12 +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
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
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
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
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
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
Per Inge Mathisen
45ba247b55
Add support for rendering for the headless extension
2021-04-27 13:53:07 +02:00
Sascha Willems
a2a604be47
Fix benchmark options
...
Fixes #815
2021-03-13 14:12:35 +01:00
Sascha Willems
35288a6f2b
Added comment on oldSwapChain
2021-03-02 07:33:18 +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
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
ca17431794
Merge pull request #797 from caramelli/master
...
Fix long options for width and height
2021-01-28 19:39:49 +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
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
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
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
Jakub Kuderski
66a4f5af22
Don't use pragma once in .cpp file
...
Fix a compiler warning.
2020-12-04 15:02:18 -05:00
Sascha Willems
08be260685
Updated ray tracing samples to final ray tracing extensions
2020-11-23 12:15:57 +01: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
144c0b66c0
Create empty texture to be used with materials that miss e.g. normal maps
2020-09-12 12:48:26 +02:00
daemyung jang
ad6e36023f
Run on MacOS ( #762 )
...
* Run on MacOS
* Update BUILD.md
2020-09-11 20:19:28 +02:00
Sascha Willems
85bf87125b
Added additional flags for binding texture maps and only rendering opaque/masked/blended meshes
2020-09-05 12:12:47 +02:00
Sascha Willems
5d594acb02
Bugfix for checking enabled instance extensions
2020-08-29 11:32:48 +02:00
Sascha Willems
af49951afb
Removed unused include
2020-08-29 10:43:01 +02:00
Sascha Willems
1d815e6ced
Better handling of device creation failure
2020-08-27 22:32:49 +02:00
Sascha Willems
8374d6cd68
Code cleanup, changed message for missing enabled device extensions
2020-08-27 22:24:43 +02:00
Sascha Willems
de61539799
Store instance extensions, reworked support check
2020-08-27 19:56:02 +02:00
Jérôme Leclercq
3298455373
Output warning to stderr if an extension is not supported ( #756 )
2020-08-27 19:36:24 +02:00
Sascha Willems
d5be770f55
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2020-08-24 20:04:53 +02:00
Sascha Willems
236a424955
Fixed full screen mode for resolutions different than current desktop size
2020-08-24 20:04:46 +02:00
datenwolf
fd202bfc76
xcb_connect always returns nonnull pointer, errors must be checked with xcb_connection_has_error ( #720 )
...
* xcb_connect always returns nonnull pointer, errors must be checked with xcb_connection_has_error: Fixed the error check to conform to XCB and assert nonnull pointer
* merged with newest master from upstream (tagged ktx)
Co-authored-by: Wolfgang Draxinger <code@datenwolf.net>
Co-authored-by: datenwolf <dw@kraeh.datenwolf.net>
2020-08-24 08:01:23 +02:00
Sascha Willems
d32663d569
Merged #729
2020-08-23 18:05:39 +02:00
Hanif Ariffin
8b521e2cd9
Don't perform unecessary copy ( #727 )
2020-08-22 09:21:12 +02:00
Francesco
2210ca22a9
add FreeBSD support ( #752 )
...
Signed-off-by: Lucas Francesco <uramekus@cirno.dev>
2020-08-21 16:23:01 +02:00
Sascha Willems
2083a9839c
Added Android build files and screenshot for order independent transparency sample
2020-08-21 10:12:55 +02:00