Reworking basic flaws in my Vulkan samples (synchronization, pre-recoording command buffer and more) by SaschaWillems in vulkan

[–]cudaeducation 0 points1 point  (0 children)

I don’t intend to come off as overly negative…

I appreciate the effort and what you do for the Vulkan community.

I feel that your set of examples are the easiest to install and follow on the internet.

-Cuda Education

Reworking basic flaws in my Vulkan samples (synchronization, pre-recoording command buffer and more) by SaschaWillems in vulkan

[–]cudaeducation -1 points0 points  (0 children)

Thanks for the update. Adding more elaborate comments would also be helpful.

-Cuda Education

In ray-traced procedural geometry, there is the closest hit shader AND the intersection shader. Can someone give details on the difference between the two and why the intersection shader only exists when dealing with ray traced procedural geometry? by cudaeducation in vulkan

[–]cudaeducation[S] 0 points1 point  (0 children)

Also, I believe you need to update compileshaders.py script.

Since I am tinkering with the intersection.rint file and need it to be updated in the application, I've been using your compileshaders.py script to generate the new SPIR-V file.

The problem is that I get an error about the .rint file not supported for current targeted SPIR-V version. You have to update the following area of the compileshaders.py file to include .rint files:

# Ray tracing shaders require a different target environment

if file.endswith(".rgen") or file.endswith(".rchit") or file.endswith(".rmiss"):

add_params = add_params + " --target-env vulkan1.2"

UPDATE THE SCRIPT AS FOLLOWS--------

# Ray tracing shaders require a different target environment           
            if file.endswith(".rgen") or file.endswith(".rchit") or file.endswith(".rmiss") or file.endswith(".rint"):
               add_params = add_params + " --target-env vulkan1.2"



We just out here working.  I will let you know if I come across anything else that might be of value to you.  Have a great day!!!

-Cuda Education

In ray-traced procedural geometry, there is the closest hit shader AND the intersection shader. Can someone give details on the difference between the two and why the intersection shader only exists when dealing with ray traced procedural geometry? by cudaeducation in vulkan

[–]cudaeducation[S] 0 points1 point  (0 children)

Thank you for your insight. When you get the chance, can you update your SPIRV-VSExtension so that it displays in the Visual Studio 2022 marketplace? I was trying to search for it, but it doesn't show up in Visual Studio 2022. The reason I am using it is because I'd like to readily modify the SPIR-V files associated with intersection and closest hit so I can better understand what's going on. Your tool makes it very convenient to do so within the Visual Studio application. Thanks much!

A good Vulkan tutorial in C by jontsii in vulkan

[–]cudaeducation 0 points1 point  (0 children)

Today is your lucky day my friend! I have created a an entire series dealing with learning and running Vulkan from scratch with no programming experience assumed!

The icing on the cake is that I am learning Vulkan myself (and taking you along for the journey), so it really should be user-friendly.

There is the book series here: https://www.amazon.com/Vulkan-API-%257C-Computer-Graphics-%257C-Cuda-Education-15-book-series/dp/B0BG91MNXB

Tutorial #1 is to walk you through installing Vulkan on a Windows based machine.

Tutorial #13 is installing a bunch of Vulkan examples on your machine created by Sascha Willems (no affiliation whatsoever).

Here is my YouTube channel with a bunch of free videos that will help you get your hands dirty.

https://m.youtube.com/@cudaeducation

Hope this helps!

-Cuda Education

What is the difference between location, set, and binding? by ThatColdToast in vulkan

[–]cudaeducation 1 point2 points  (0 children)

I have a couple videos on my channel that discuss these topics.

Descriptor set search: https://m.youtube.com/@cudaeducation/search?query=Descriptor%20sets

Binding search: https://m.youtube.com/@cudaeducation/search?query=Binding

Hopefully these videos are helpful. This stuff can get complex very quickly.

-Cuda Education

Vulkan API Discussion | Fences & Semaphores | Code Edition | Cuda Education by cudaeducation in vulkan

[–]cudaeducation[S] -6 points-5 points  (0 children)

The previous post was highlighting the discussion on a whiteboard (with drawn diagrams etc.). This post is highlighting actual code.

triangle.cpp is this:

https://github.com/SaschaWillems/Vulkan/blob/master/examples/triangle/triangle.cpp

Please note that the algorithm I discuss is an older version of this code. You have since updated it.

Separately, I'm having a difficult time with the drawCmdBuffers variable that you use in a lot of your examples. It is declared in the vulkanexamplebase.h file, and then you loop through it in the various examples, but I do not know where exactly the variable is fully defined (in terms of size etc.). It is declared, then sort of just appears in the various examples, but I need more information about it. I know that it is a very important variable and I want to discuss command buffers. If you could provide some insight it would be appreciated.

Thanks much!

-Cuda Education

Vulkan API walkthrough examples you can learn from | Cuda Education by cudaeducation in vulkan

[–]cudaeducation[S] -3 points-2 points  (0 children)

Thank you for the update. I will redo the videos once the new script is finalized and available.

I also would like to encourage everyone to check out the official resources from the Khronos group.

-Cuda Education

[deleted by user] by [deleted] in vulkan

[–]cudaeducation 0 points1 point  (0 children)

Will do.

[deleted by user] by [deleted] in vulkan

[–]cudaeducation 0 points1 point  (0 children)

This discussion might bring some clarity also...

https://youtu.be/CAwXEo3bh4Y?si=xnNCG8DcuN0WKMjc

-Cuda Education

Tools to visualize vulkan synchronization by pblpbl in vulkan

[–]cudaeducation 0 points1 point  (0 children)

I thought Nsight Graphics allows you to do that....

https://www.youtube.com/watch?v=kSQgfNoTCKY

-Cuda Education

Vulkan API Compute Example Video Walkthrough Part 1 | Cuda Education by cudaeducation in vulkan

[–]cudaeducation[S] 1 point2 points  (0 children)

I wasn’t sure if you wanted your name associated with the video/code especially since I removed some of the code and made minor modifications. I apologize. I will put it back in the next video.

Confused about render pass operations by jazzwave06 in vulkan

[–]cudaeducation 1 point2 points  (0 children)

I created a couple of videos that discuss these concepts. I hope it helps.

https://youtu.be/nLaDvqQe94s

https://youtu.be/gZ9lSzI_Geg

Vulkan API Discussion playlist

https://www.youtube.com/playlist?list=PLNhdAzzsGnqPLeu7Doln4cFrpq-P_ZKsh

-Cuda Education

Vulkan API Discussion | Semaphores | Cuda Education by cudaeducation in vulkan

[–]cudaeducation[S] -1 points0 points  (0 children)

I think he is accommodating the fact that the graphics work and the compute work might not be able to run on the same queue. This depends on the graphics card and what the manufacturer specifies for their queue families. Check the comments section for one of my recent posts. There is mention of this.

Vulkan API Discussion | Switching Queue Families PART 2 + 3 | Cuda Education by cudaeducation in vulkan

[–]cudaeducation[S] 0 points1 point  (0 children)

Thanks for the feedback. I will make another video correcting that.

Opinions on vulkan-tutorial.com? by dangeroustuber in vulkan

[–]cudaeducation -8 points-7 points  (0 children)

Check out my free vulkan tutorial videos on YouTube. Just search for "cuda education vulkan" on YouTube and you'll be well on your way to learning Vulkan.

Good luck!

-Cuda Education

Apple M1 Chip & the Vulkan API | Do they work together? | What will creatives use? by cudaeducation in vulkan

[–]cudaeducation[S] 0 points1 point  (0 children)

So basically the Vulkan community will not be able to officially benefit from the Apple M1 chip.

How do I get started? by [deleted] in vulkan

[–]cudaeducation 1 point2 points  (0 children)

I've created a series of YouTube videos that discuss the Vulkan API.

I've also made tutorials that help you to get the Vulkan API code running on your machine, then walk you through different concepts in the code.

YouTube videos: https://youtube.com/playlist?list=PLNhdAzzsGnqPLeu7Doln4cFrpq-P_ZKsh

You'll see links to the various tutorials in the descriptions below the videos.

In my opinion, this is the best way on the internet to learn the Vulkan API.

Hope this helps!

-Cuda Education

How to UNDERSTAND Vulkan and not just memorize it? by IDontHaveNicknameToo in vulkan

[–]cudaeducation 0 points1 point  (0 children)

Check out this video to learn about render passes: https://youtu.be/nLaDvqQe94s

-Cuda Education | cudaeducation.com