Commit graph

2214 commits

Author SHA1 Message Date
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
Sascha Willems
eb11297312 Enable inline uniform block feature
Fixes #875
2021-09-04 09:28:16 +02:00
Sascha Willems
4ae88a2772
Merge pull request #873 from cforfang/offset
Fix bound range in dynamicuniformbuffer sample
2021-09-03 08:28:22 +02:00
Christian Forfang
6a1a8988d0 Fix bound range in dynamicuniformbuffer sample 2021-08-31 12:27:52 +02:00
Sascha Willems
28397adb20 Use clamped roughness
Fixes #864
2021-08-28 15:32:23 +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
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