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
Sascha Willems
630115bd13
Merge pull request #925 from galaxysailing/computecloth-update
...
computecloth redundant code
2022-12-31 13:44:47 +01:00
Sascha Willems
72e8083b7c
Removed unnecessary component swizzle assignments
...
Fixes #160
2022-12-31 12:31:27 +01:00
Sascha Willems
07fe7401a1
Don't render scene when shadow map is dislplayed
...
Fixes #774
2022-12-31 12:11:21 +01:00
Sascha Willems
58b99c556e
Cull mode for shadow pass
...
Fixes #946
2022-12-31 12:07:35 +01:00
Sascha Willems
d13b9a93bc
Replaced outdated android layer names
2022-12-31 10:27:10 +01:00
Sascha Willems
e52a9342f4
Add command line arguments to headless samples
...
Those samples can now toggle between glsl and hlsl shaders
Moved command line parster to a separate header
2022-12-31 09:45:01 +01:00
Sascha Willems
484d16d394
Merge pull request #998 from wrightwriter/patch-1
...
fix minor typo
2022-12-29 20:13:18 +01:00
Tom Rix
3adef0e268
fix spelling
...
sloth -> cloth
Signed-off-by: Tom Rix <trix@redhat.com>
2022-12-27 11:39:30 -05:00
Sascha Willems
4a119ecd7b
Fixed specialization constant type in readme
2022-12-24 15:31:53 +01:00
Sascha Willems
e80a063fc5
Fixed specialization constant type
2022-12-24 15:26:48 +01:00
Sascha Willems
86b5a1109b
Added sub pass dependency for the depth attachment
...
Fixes #769
2022-12-13 20:49:19 +01:00
Sascha Willems
707bb41851
Minor code cleanup
...
Removed unused variables
2022-12-09 07:24:32 +01:00
Sascha Willems
26cfa27f07
Minor code cleanup
...
Removed unused variables
2022-12-09 07:12:45 +01:00
Sascha Willems
4584538ed8
Use alignment from properties
...
Clean up
2022-12-05 20:14:35 +01:00
Sascha Willems
250c7df08b
Added sample for VK_EXT_descriptor_buffer
...
Work-in-progress
2022-12-04 12:51:14 +01:00
Lionel Landwerlin
46054ee59d
dynamicrendering: use the right layout for depth/stencil
2022-11-21 11:38:44 +02:00
Petar Guglev
8a8ce0e266
fix minor typo
2022-11-15 18:11:05 +02:00
Sascha Willems
ed406e61a6
Added simple task shader
2022-11-10 18:24:57 +01:00
Sascha Willems
42e4bd4a11
Removed unused include
2022-11-03 19:40:42 +01:00
Sascha Willems
89fc84bf14
Added a basic mesh shader example
2022-11-03 19:27:51 +01:00
Sascha Willems
2ece9f013f
Remove unused descriptor set layout binding
...
Fixes #996
2022-10-15 19:36:24 +02:00
Light7734
d6084061b3
fix: typo in glfwloading example
2022-10-11 10:32:51 +00:00
Sascha Willems
ae3c1325f8
Added dynamic state 3
2022-10-03 18:52:25 +02:00
Sascha Willems
7100323941
Added dynamic state 2
2022-10-02 19:16:40 +02:00
Sascha Willems
07b479aae5
Started working on new dynamic state sample
...
wip
2022-10-02 15:46:26 +02:00
Nathan V. Morrical
b82ecd94a3
Merge branch 'SaschaWillems:master' into master
2022-09-26 23:23:23 -05:00
n8vm
3a4ea2b697
updating sbt record data example to also cover miss sbt data
2022-09-26 20:28:08 -06:00
Sascha Willems
8730b2b266
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2022-09-26 17:48:09 +02:00
Sascha Willems
38213eb2a5
Removed unused combined sampler from layout
...
Refs #995
2022-09-26 17:47:59 +02:00
n8vm
e8270a7b38
Merge branch 'sascha_master'
2022-09-25 13:43:24 -06:00
Matt Coster
1e57057798
Fixes to dynamic state behavior in pipelines demo
...
This patch includes three fixes:
- Allow wideLines to be enabled when fillModeNotSolid isn't,
- Check against enabledFeatures for runtime conditionals instead
of the theoretical values in deviceFeatures, and
- Always call vkCmdSetLineWidth() before any draw command occurs.
This is required by the spec, since any state declared as dynamic
is explicitly not initialized by VkPipeline*StateCreateInfo.
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
2022-09-14 15:06:17 +01:00
Sascha Willems
42b7f547a2
Fix descriptor pool sizes
...
Fixes #989
2022-09-10 09:05:07 +02:00
n8vm
ac56858f2e
updating example, fixing some buffer sizes
2022-09-09 11:54:26 -06:00
n8vm
9e58ad5377
Adding a simple example demonstrating how to use SBT record data
2022-09-08 12:57:00 -06:00
Sascha Willems
d02a039188
Remove requirement for shaderResourceMinLod
...
Fixes #984
2022-08-21 16:19:44 +02:00
Sascha Willems
20775d9f3d
Merge branch 'master' of https://github.com/SaschaWillems/Vulkan
2022-08-19 17:50:18 +02:00
Sascha Willems
afab3c1624
Remove duplicate code
...
Fixes #985
2022-08-19 17:50:10 +02:00
Sascha Willems
154a734db0
Merge pull request #978 from SRSaunders/macos-example-fixes
...
Example-specific fixes for: MoltenVK config, OpenMP build, UBO size alignment, descriptorindexing memory bounds error
2022-08-14 16:12:45 +02:00
Sascha Willems
0b0aa2ddb7
Reset resize flag after resize is handled
...
Fixes #980
2022-08-11 15:31:41 +02:00
Sascha Willems
408f57c761
Reset resize flag after resize is handled
...
Fixes #980
2022-08-11 13:37:06 +02:00
Stephen Saunders
f103389d03
Align UBO sizes between code and shaders for computeraytracing, ssao, & texturearray examples
2022-08-08 13:46:30 -04:00
Stephen Saunders
b60f404b0e
Fix cube count & indices logic error in descriptorindexing example
2022-08-08 02:15:03 -04:00
Sascha Willems
f084d6093c
Slightly reworked glTF samples
...
Parent matrices are now applied (where available)
Now more in line with the base code glTF loader
Refs #964
2022-08-06 10:16:54 +02:00