Commit graph

2379 commits

Author SHA1 Message Date
Sascha Willems
6b0bc52a1b Code cleanup and readme for vertex attributes sample 2022-01-21 13:35:06 +01:00
Sascha Willems
e34634c266 Corrected vertex attribute formats 2022-01-21 11:42:50 +01:00
Sascha Willems
0dc34c3375 Code restructuring 2022-01-21 09:59:30 +01:00
Sascha Willems
15124e8232 Code restructuring, cleanup and simplification 2022-01-21 08:17:07 +01:00
robotchaoX
60ec305bdc fix example oit build for Android failed 2022-01-21 14:13:21 +08:00
Sascha Willems
76bda56784 Updated Vulkan Headers to 1.2.203 2022-01-20 07:29:38 +01:00
Sascha Willems
ba93671922
Merge pull request #919 from JJCUBER/patch-1
Fixed typos in comments of triangle.cpp
2022-01-05 20:49:00 +01:00
JJCUBER
e427c87664
Fixed typos in comments of triangle.cpp 2021-12-30 22:58:53 -05: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
Sascha Willems
48de215d0b
Merge pull request #907 from rajnesh-kanwal/fix_memory_leak
Fixes memory leak due to ImGui context not being destroyed.
2021-12-11 11:00:13 +01:00
Sascha Willems
92187b0c48
Merge pull request #908 from LongerZrLong/master
[Minor] Remove small duplication in triangle.cpp
2021-12-11 10:59:58 +01:00
Longer Long
a78f139563
[Minor] Remove small duplication in triangle.cpp
Remove a line of duplication in `void preparePipelines()` of triangle.cpp.
2021-12-06 10:40:07 -05:00
Rajnesh Kanwal
774bb42ceb Fixes memory leak due to ImGui context not being destroyed. 2021-12-04 15:35:07 +00:00
Sascha Willems
313ac10de4 Removed unused texture 2021-12-04 10:10:38 +01:00
Sascha Willems
cd6882395d Added barrier between fragment shader write and read 2021-11-28 21:01:00 +01:00
Sascha Willems
fce1c93266 SSBOs are now device local
Heavily increases performance of this sample
Fixes #905
2021-11-28 11:16:35 +01:00
Sascha Willems
41a52bda4c Small fixes, validation is now clean except for a false positive 2021-11-20 12:29:27 +01:00
Sascha Willems
089edad01c Added barriers 2021-11-20 10:31:17 +01:00
Sascha Willems
317cc1181c Disable culling for models
Fixes #886
2021-11-11 20:01:03 +01:00
Sascha Willems
6f9da1dd96
Merge pull request #861 from ShoufengYang/patch-1
Update computeshader.cpp
2021-11-10 19:21:42 +01:00
Sascha Willems
485f93441e
Merge pull request #862 from ShoufengYang/patch-2
Fixed the first frame render error.
2021-11-10 19:20:15 +01:00
Sascha Willems
10427c626b Disable framework overlay for explicit ImGui sample
Fixes #902
2021-11-10 19:04:02 +01:00
Sascha Willems
dd24009991 Remove unused push constants
Fies #901
2021-11-09 21:44:43 +01:00
Sascha Willems
3b7098d699 Added dynamic rendering sample to readme 2021-11-07 09:11:14 +01:00
Sascha Willems
3e55366434 Added sample fro dynamic rendering using VK_KHR_dynamic_rendering 2021-11-06 19:45:22 +01:00
Sascha Willems
16edda1013 Updated Vulkan headers to 1.2.197 2021-11-06 18:06:20 +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
1c6c08d41f Fixed ray tracing callable shader sample HLSL shaders 2021-10-18 22:01:07 +02:00
Sascha Willems
f00568f482 Add ray tracing callable shaders to solution 2021-10-18 22:00:40 +02:00
Sascha Willems
1993f3af5d Changed ray tracing closest hit shader hit attributes to vec2
Fixes #878
2021-10-18 21:41:18 +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
Sascha Willems
813eda7796
Merge pull request #888 from cforfang/fix_barrier
dstAccessMask should be VK_ACCESS_SHADER_READ_BIT
2021-10-16 18:03:35 +02:00
Christian Forfang
13ff9e5019
dstAccessMask should be VK_ACCESS_SHADER_READ_BIT 2021-10-16 16:38:55 +02:00
Sascha Willems
fc89345f61 Update ubuntu build environment 2021-10-16 09:11:32 +02:00
Sascha Willems
72bc2eaf01
Merge pull request #877 from cforfang/access_mask_fix
Minor fix to access mask
2021-10-14 21:12:59 +02:00
Sascha Willems
208fdf71a3
Merge pull request #882 from neither-nor/master
Fix texturesparseresidency memory and image layout bugs
2021-10-09 20:01:11 +02:00
Sascha Willems
0069b7ab49
Merge pull request #884 from ahcox/patch-1
Chrome complains when the link is insecure
2021-10-09 20:00:41 +02:00
Andrew H. Cox
01caa15a15
Chrome complains when the link is insecure 2021-10-08 01:42:35 +01: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
93328016e9 Fixed SSAO sample G-Buffer shader
Refs #880
2021-09-26 16:28:45 +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