Commit graph

583 commits

Author SHA1 Message Date
Sascha Willems
99f25527cc Fix query count and dateaSize/stride calculation
Fixes #874
2023-08-04 20:04:15 +02:00
Sascha Willems
fc27e4d98d Fixed buffer sizes and recompiled shaders
Validation is clean now
Fixes #1017
2023-08-04 19:49:42 +02:00
Sascha Willems
cc89bdb4a5 Destroy shaders
Fixes validation
2023-08-04 19:27:49 +02:00
Gadgeteer
2d2746c01d Remove xcode/examples.h 2023-07-19 16:19:15 +01:00
Sascha Willems
ae4ed5f9ad Minor cleanup 2023-07-18 19:23:43 +02:00
Sascha Willems
93fb200fe6 Minor code cleanup 2023-07-17 20:32:27 +02:00
Sascha Willems
31973df69b Reworked triangle sample
Now uses proper sync and multiple concurrent frames
Better and more consistent naming
Additional comments
Refs #871
2023-07-16 19:25:55 +02:00
Sascha Willems
9dcc8110cf Renamed particle fire sample 2023-07-16 16:03:29 +02:00
Sascha Willems
384b2031a2 Minor code cleanup 2023-07-16 15:55:58 +02:00
Sascha Willems
d58936d6f2 Store buffers on device
Fixes #1053
2023-07-16 14:06:18 +02:00
Gadgeteer
b1d2777ad0 First Version of MacOS test 2023-07-15 10:44:22 +01:00
Tom Hochstein
a0ef2fcea6 Fix shaders path for computeheadless and renderheadless 2023-07-12 10:07:39 -05:00
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