Re: having troubles with D and Vulkan.

2023-07-23 Thread Mike Shah via Digitalmars-d-learn
On Friday, 21 July 2023 at 02:22:56 UTC, harakim wrote: On Thursday, 20 July 2023 at 06:27:13 UTC, Danni Coy wrote: ok found it, I am an idiot, (really not used to working with dynamic libraries). erupted needs a call to load device level functions. loadDeviceLevelFunctions(instance); On

Re: having troubles with D and Vulkan.

2023-07-20 Thread harakim via Digitalmars-d-learn
On Thursday, 20 July 2023 at 06:27:13 UTC, Danni Coy wrote: ok found it, I am an idiot, (really not used to working with dynamic libraries). erupted needs a call to load device level functions. loadDeviceLevelFunctions(instance); On Thu, Jul 20, 2023 at 4:22 PM Danni Coy wrote:

Re: having troubles with D and Vulkan.

2023-07-20 Thread Danni Coy via Digitalmars-d-learn
ok found it, I am an idiot, (really not used to working with dynamic libraries). erupted needs a call to load device level functions. loadDeviceLevelFunctions(instance); On Thu, Jul 20, 2023 at 4:22 PM Danni Coy wrote: > > https://pastebin.com/Jc9ZaFFs > Redid the code as an almost exact

Re: having troubles with D and Vulkan.

2023-07-20 Thread Danni Coy via Digitalmars-d-learn
https://pastebin.com/Jc9ZaFFs Redid the code as an almost exact translation of the C code. should be easier to test and compare. Same issue is occurring. On Thu, Jul 20, 2023 at 5:30 AM Mike Shah via Digitalmars-d-learn wrote: > > On Wednesday, 19 July 2023 at 07:39:35 UTC, Danni Coy wrote: > >

Re: having troubles with D and Vulkan.

2023-07-19 Thread Danni Coy via Digitalmars-d-learn
On Thu, Jul 20, 2023 at 5:30 AM Mike Shah via Digitalmars-d-learn wrote: > > On Wednesday, 19 July 2023 at 07:39:35 UTC, Danni Coy wrote: > > https://pastebin.com/JxxJufNB > > What platform are you using, and how are you trying to build? > > I can try to replicate on my end. I am on Manjaro

Re: having troubles with D and Vulkan.

2023-07-19 Thread Mike Shah via Digitalmars-d-learn
On Wednesday, 19 July 2023 at 07:39:35 UTC, Danni Coy wrote: https://pastebin.com/JxxJufNB What platform are you using, and how are you trying to build? I can try to replicate on my end.

Re: having troubles with D and Vulkan.

2023-07-19 Thread Danni Coy via Digitalmars-d-learn
https://pastebin.com/JxxJufNB

Re: having troubles with D and Vulkan.

2023-07-19 Thread Danni Coy via Digitalmars-d-learn
> > I was able to get through the triangle demo a while back. I feel > like it's more of a D question than a Vulkan library question. > You'll have to post your code so people can tell what it is. Just > a hunch, but it's probably something that the gc is collecting > before it is used. What's

Re: having troubles with D and Vulkan.

2023-07-19 Thread harakim via Digitalmars-d-learn
On Wednesday, 19 July 2023 at 02:50:05 UTC, Danni Coy wrote: I am trying to run through the basic Vulkan triangle demo. I am getting stuck at vkGetDeviceQueue which segfaults for me. I have written the same tutorial to about the same point in C and I am not getting the segfault. I have

having troubles with D and Vulkan.

2023-07-18 Thread Danni Coy via Digitalmars-d-learn
I am trying to run through the basic Vulkan triangle demo. I am getting stuck at vkGetDeviceQueue which segfaults for me. I have written the same tutorial to about the same point in C and I am not getting the segfault. I have enabled validation layers and they are not picking up anything. Any