Add SIGGRAPH2026 Vulkan tutorial#419
Conversation
SaschaWillems
left a comment
There was a problem hiding this comment.
Shader compilation fails for me with the following error:
Custom build for 'V:\Vulkan-Docs-Site\Vulkan-Tutorial-review\attachments\siggraph2026_vk_tutorial\build\vs2022\CMakeFiles\d79c7eb460355f97f6a43dc990eed41f\albedo.frag.spv.rule;V:\Vulkan-Docs-Site\Vulkan-Tutorial-review\attachments\siggraph2026_vk_tutorial\build\vs2022\CMakeFiles\f53c6c7b794bd22104e72c02a70f4a94\albedo_fragment_shader.rule;V:\Vulkan-Docs-Site\Vulkan-Tutorial-review\attachments\siggraph2026_vk_tutorial\CMakeLists.txt' exited with code 3.
I have the SDK installed, slangc is in the path, and CMake slang compiler variable properly points at it.
| // [VK_SHADER_STAGE_FRAGMENT_BIT]. This is not invalid, but the write to the unused Output is discarded, causing a | ||
| // performance validation message. Proper solution is to have a custom vertex shader, but this is intentionally | ||
| // avoided to keep the tutorial simple. | ||
| if (color.a < 0.0f) { |
There was a problem hiding this comment.
What's this supposed to do? The comment above doesn't refer to the actual code.
There was a problem hiding this comment.
I tried to clarify the comment.
We are using all variables, so Vulkan Validation layers does not point this as a performance warning.
| @@ -0,0 +1,9 @@ | |||
| MIT License | |||
There was a problem hiding this comment.
Any reason the license file is duplicated (see src/LICENSE)?
There was a problem hiding this comment.
Initially we planned this to be its own repository, MIT is one of the license we use as standard for new projects, so we choose MIT license.
The CI requires to have a MIT license file here.
I would not mind to remove the one in attachments/siggraph2026_vk_tutorial/LICENSE
| # SIGGRAPH 2026: How to write a Vulkan application | ||
|
|
||
| This is a simple tutorial with the objective of explaining how to write a Vulkan application in 2026. | ||
| The tutorial employs the latest recommended best practices for beginners: |
There was a problem hiding this comment.
Tbh. I wouldn't say that descriptor heaps are a topic for beginners.
There was a problem hiding this comment.
Not sure, I removed the sentence about beginners.
I personally think they are completely different form classic descriptor sets, and require a new mental model.
I would not call them more beginner friendly but I think they can be a proper alternative for new developers.
I find them easy to use, if you have experience with memory, but I think is going to depend on the person.
Sorry which version of the SKD do you have? |
|
I'm on 1.4.350.0, but I'm using a more recent version of Slang as the one in the SDK is outdated. Explicitly stating the slang path like you show in the readme works though, shaders are now compiling fine. |
Code for the SIGGRAPH 2026 Vulkan Tutorial.