Commit graph

571 commits

Author SHA1 Message Date
reneruhr
187fc810ac
Removed unnecessary binding. 2023-07-10 15:37:00 +03:00
Sascha Willems
b82ee755c5 Fixed dst access mask for input attachment access
Fixes #1020
2023-06-20 18:57:32 +02:00
Sascha Willems
dbfb115bd6 Minor code cleanup 2023-06-18 17:53:21 +02:00
Sascha Willems
48fb28508b Clean up descriptor pool setup
Fixes #1030
2023-06-08 18:34:17 +02:00
Sascha Willems
09c5dfd57f Fix UV calculation
Fixes #1035
2023-06-08 18:31:31 +02:00
Sascha Willems
0eec27db64 Clean up validation
UI needs to be reworked, so disabled for now
Fixes #1040
2023-06-03 16:51:03 +02:00
Sascha Willems
e9288ed57f Use correct layout for color attachment
Fixes #1041
2023-06-03 16:48:37 +02:00
Sascha Willems
c01136f4bd Randomly generate spheres 2023-05-13 16:19:40 +02:00
Sascha Willems
c9aa0cb13e CMake setup 2023-05-13 14:55:18 +02:00
Sascha Willems
ebc4127472 Started working on ray tracing intersection shader example 2023-05-13 12:22:04 +02:00
Sascha Willems
10031d4cca Changed references to the asset pack 2023-05-10 21:29:33 +02:00
Sascha Willems
ed8be7e92d Replaced debug marker with debug utils in framework 2023-05-09 20:04:34 +02:00
Sascha Willems
3c9aca3fcb Add stencil format require toggle
Fixes #1031
2023-05-09 18:03:51 +02:00
Sascha Willems
061a5cb613 Use dynamic rendering 2023-04-28 07:12:12 +02:00
Sascha Willems
217e7cf6d2 Generate and load binary shader objects 2023-04-23 20:22:35 +02:00
Sascha Willems
8b200fc8f9 Uext fn names 2023-04-23 09:08:27 +02:00
Sascha Willems
c43db60df6 Cleanup, enable dynamic state extensions, use ext fn names 2023-04-23 08:55:01 +02:00
Sascha Willems
3294d03d2b Merge branch 'master' of https://github.com/SaschaWillems/Vulkan 2023-04-22 18:49:41 +02:00
Sascha Willems
f50a060eb0 Started working on a sample for VK_EXT_shader_object 2023-04-22 18:49:34 +02:00
Sascha Willems
2f203fe832
Merge pull request #1029 from VJ-Tony/patch-1
Correct the dimensions of the font data buffer
2023-04-22 08:05:56 +02:00
Heyrman Toon
f86acbf529
Correct the dimensions of the font data buffer 2023-04-19 17:43:05 +02:00
Kingstom
964d85e829
use EXT for mesh shader feature 2023-04-19 00:02:15 +08:00
Sascha Willems
899890a4fe Fixed rotation code 2023-04-15 18:29:09 +02:00
Sascha Willems
04f956c1d0 Removed unused offset calculations
Fixes #1024
2023-04-14 18:31:51 +02:00
Sascha Willems
4a6371913d Reworked descriptor setup
Fixes #1027
2023-04-12 19:54:11 +02:00
Sascha Willems
e1699d0bf1 Correct file paths 2023-04-09 16:56:13 +02:00
Sascha Willems
787a4ee8e7 Ray tracing texturing and alpha mapping sample 2023-04-09 13:43:24 +02:00
Sascha Willems
cd6e3b9a23 Ray tracing texturing and alpha mapping sample 2023-04-09 13:40:12 +02:00
Sascha Willems
d0ad204606 Ray tracing texturing and alpha mapping sample 2023-04-09 11:37:44 +02:00
Sascha Willems
5645c2657f Use properly aligned offsets 2023-04-08 10:24:27 +02:00
Sascha Willems
8f1d351489 Started working on a ray tracing texture mapping Sample
Uses any hit for transparency, and BDA for accessing vertex and index buffers
2023-04-07 14:13:04 +02:00
Sascha Willems
aa3c00a784 Fix animation update
Fixes #1022
2023-04-07 12:58:11 +02:00
Sascha Willems
0ab683e827
Merge pull request #1019 from skal65535/patch-2
Fix a typo in rotation.y update
2023-04-07 12:31:17 +02:00
Sascha Willems
746277561a
Merge pull request #1021 from Keenuts/fix-vuid
validation: fix VUID-vkAllocateMemory 02790
2023-04-07 12:30:57 +02:00
Sascha Willems
03299b337f Cleanup, enable UI 2023-03-24 19:43:55 +01:00
Nathan Gauër
fae70ec4ae validation: fix VUID-vkAllocateMemory 02790
Related to #876.
On AMD RX 5700 XT, heaps with MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD
are present. Because the heap selection doesn't break early, the code
ends up selecting one of the 'late' heaps, which contains more property
bits than required. Including this one which causes validation error.

Breaking early should solve this on all GPUs, as the Vulkan specs
specifies the order of heap declarations:
```
For each pair of elements X and Y returned in memoryTypes, X must be
placed at a lower index position than Y if:
    - the set of bit flags returned in the propertyFlags member of X is
      a strict subset of the set of bit flags returned in the
      propertyFlags member of Y;
```

So if my understanding is correct, by breaking early we should always
select the most basic heap that meets the sample needs.

Signed-off-by: Nathan Gauër <nathan@gauer.org>
2023-03-22 23:52:52 +01:00
skal
06bd9b8caa
Fix a typo in rotation.y update
+ remove the doubled rotation code at call site.
2023-03-04 09:29:39 -08:00
Sascha Willems
f66ecd936e Added ImGui style selection 2023-02-25 10:27:47 +01:00
Sascha Willems
61bd5cfd92 Additional ImGui key mappings 2023-02-25 09:46:56 +01:00
Sascha Willems
cca1c865d9 Added keyboard input handling
Windows only
2023-02-25 09:37:08 +01:00
Sascha Willems
33bb0eb2b8 Simplify push constant setup
Fixes #1012
2023-02-24 17:03:48 +01:00
Sascha Willems
933a6f6dd9 Synchronization fix 2023-02-24 16:50:39 +01:00
Sascha Willems
5017d380af Code cleanup and fixes
Added color picker for clear color
2023-02-24 16:13:31 +01:00
carlkuesters
e2b237f21d Fix frustum corner calculation for cascading shadows (Vulkan's clip space has a [0,1] z range instead of [-1,1]). 2023-02-20 23:13:19 +01:00
Sascha Willems
27fa372391 Properly sync depth attachment access
Fixes validation
Fixes #820
2023-02-11 16:09:05 +01:00
Per Mathisen
580008ee5a Fix for base subpass depedencies had uninitialized dependency flags.
This consistently crashed all the examples on my linux laptop with
Intel GPU in it.

Ref #665
2023-01-05 13:28:40 +01:00
Sascha Willems
9b624451cb Fix base subpass depedencies
Fixes #665
2023-01-01 09:14:25 +01:00
Sascha Willems
6e68f76456 Fill stats and draw count buffer with zeroes
Fixes #748
2022-12-31 16:01:11 +01:00
Sascha Willems
ac1a216ac6
Merge pull request #790 from kuhar/clang-warnings
[NFC] Fix clang 10 warnings
2022-12-31 14:03:31 +01:00
Sascha Willems
c4b417d791
Merge pull request #783 from michead/shadowmappingomni
Omnidirectional Shadow Mapping example - Render depth to cubemap faces directly
2022-12-31 13:50:18 +01:00