Commit graph

2304 commits

Author SHA1 Message Date
Sascha Willems
9993d42102 Updated assets submodule 2023-05-16 19:33:59 +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
133c703160 Intersection shader 2023-05-13 14:49:00 +02:00
Sascha Willems
ebc4127472 Started working on ray tracing intersection shader example 2023-05-13 12:22:04 +02:00
Sascha Willems
a048bc2635
Merge pull request #1034 from SaschaWillems/assets_submodule
Include assets as a submodule
2023-05-11 19:02:10 +02:00
Sascha Willems
10031d4cca Changed references to the asset pack 2023-05-10 21:29:33 +02:00
Sascha Willems
69bb4d6ac0 Path lookup 2023-05-10 21:10:59 +02:00
Sascha Willems
a124271b7e Changed shader path lookup 2023-05-10 20:34:09 +02:00
Sascha Willems
eb3d68fb5c Updated android build files to new asset/shader folder structure
Make use of global gradle variables
Updated gradle
2023-05-10 20:33:19 +02:00
Sascha Willems
c13ba757b7 Changed assets and shader path functions, removed asset download script 2023-05-09 21:05:01 +02:00
Sascha Willems
99b226237a Moved shaders to new directory 2023-05-09 21:03:02 +02:00
Sascha Willems
0b3f8340e3 Added assets as submodule 2023-05-09 20:47:41 +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
0afa517a68 Error code translation for shader objects 2023-05-09 17:33:59 +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
eb904cf1be Added shader object sample to the readme 2023-04-23 18:03:36 +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
bec075df2f Started working on a sample for VK_EXT_shader_object
Updated Vulkan headers
2023-04-22 20:00:24 +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
Sascha Willems
d9e6ac6ee8
Merge pull request #1028 from K1ngst0m/patch-1
Use EXT for mesh shader feature
2023-04-19 17:45:23 +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
8715cd75b0 Ray tracing texturing and alpha mapping sample 2023-04-09 13:49:15 +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
add03172fe
Merge pull request #1023 from sagarghuge20/fix/texturemipmap
Create SPIR-V binary for recently updated texturemipmap vertex shader
2023-04-07 12:10:06 +02:00
Sagar Ghuge
32449973df Create SPIR-V binary for recently updated texturemipmap shader
Looks like recently, samplerIndex and couple of other things moved to
UBO. For the same fragment shader's SPIR-V binary has been updated but
vertex shader's missed. This change updates the SPIR-V binary for vertex
shader.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
2023-04-06 20:01:30 -07:00
Sascha Willems
fa0e3485d0 Updated to Vulkan Headers 1.3.245 2023-03-25 15:27:03 +01:00
Sascha Willems
5c6cec4a62 Fix stb record offset
Fixes #1018
2023-03-24 20:10:54 +01:00
Sascha Willems
02569bf4ae Fixed wrong variable name 2023-03-24 20:03:22 +01: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
ab899ff472 CI 2023-02-25 11:56:46 +01:00