Nathan V. Morrical
Nathan V. Morrical
@BattleAxeVR have you tried using Slang? I’ve been using the hit object API in slang for a while now without any major hitches. https://github.com/shader-slang/slang/blob/master/docs/shader-execution-reordering.md iiuc, Vulkan support is still a...
+1, emitting SPIRV directly seems to be the more robust path from my experience. I think it makes sense that this becomes the default.
Somewhat related, but if we switched direct-to-spirv on by default, then I could submit reproducers of bugs more easily through shader playground. Currently, shader playground uses the default glslang backend...
This should be a high priority. The current direct-to-SPIRV backend is (from my experience) much more stable than with the option off. Even the more basic features like multiple entrypoints...
We should probably add a “—emit-spirv-indirectly” flag then. For internal Nvidia users working on confidential Vulkan features, they should be the ones with the burden to add a flag to...
Ah, right. Time seems to have escaped me a bit. Yes, that’s not far out at all. Sometime mid April seems reasonable.
> As part of the bug will add test cases to turn on the IR validation in spirv only path. That would be very helpful. I had a similar issue...
Asking around. I know that DXC supports them when targeting SPIRV, but I’m not sure if it has any effects on the actual IR itself.
If it's any help, consolidating some information In vulkan I have examples of AABB accels [here](https://github.com/gprt-org/GPRT/blob/90f538eab76b44b9f0d871383e7bd4cbe23d1d67/gprt/gprt.cpp#L3293), Triangular geometry accels [here](https://github.com/gprt-org/GPRT/blob/90f538eab76b44b9f0d871383e7bd4cbe23d1d67/gprt/gprt.cpp#L2669), and Instance accels [here](https://github.com/gprt-org/GPRT/blob/90f538eab76b44b9f0d871383e7bd4cbe23d1d67/gprt/gprt.cpp#L3893) These code snippets include building and...
One place that might be a good starting point is populating the structures of data for acceleration structure features and properties. In my code I do that [here](https://github.com/gprt-org/GPRT/blob/90f538eab76b44b9f0d871383e7bd4cbe23d1d67/gprt/gprt.cpp#L2639-L2655) In `VkPhysicalDeviceAccelerationStructureFeaturesKHR`,...