[17:15:08] *** echelog-3 <echelog-3!~echelog-3@108.61.103.42> has joined ##vulkan
[17:26:29] *** GPpow2srv_ <GPpow2srv_!~GMpow2srv@p2003005F6E0184717C6016B5768CB844.dip0.t-ipconnect.de> has joined ##vulkan
[17:30:02] *** GPpow2srv__ <GPpow2srv__!~GMpow2srv@p2003005F6E0184717C6016B5768CB844.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)
[17:35:25] *** DreamSynth <DreamSynth!uid275473@gateway/web/irccloud.com/x-kaxjwxondhtjfwbg> has quit IRC ()
[17:35:44] *** DreamSynth <DreamSynth!sid275473@gateway/web/irccloud.com/x-skwjyadbtxxrsafb> has joined ##vulkan
[17:36:27] *** neurre <neurre!~tsuoranta@62.209.167.43> has quit IRC (Quit: Leaving)
[17:36:28] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[17:39:04] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has joined ##vulkan
[17:44:55] *** GPpow2srv__ <GPpow2srv__!~GMpow2srv@p5481CDF7.dip0.t-ipconnect.de> has joined ##vulkan
[17:47:48] *** GPpow2srv_ <GPpow2srv_!~GMpow2srv@p2003005F6E0184717C6016B5768CB844.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)
[17:54:35] <Limeth_> Alright, alright. I will rewrite my program in C. It's unmanageable to try to learn vulkan with an abstraction over it, moreso when you're trying to debug these obscure errors.
[18:19:27] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[18:22:30] *** ratchetfreak <ratchetfreak!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has quit IRC (Ping timeout: 260 seconds)
[18:28:15] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has joined ##vulkan
[18:32:28] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has joined ##vulkan
[18:38:43] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has joined ##vulkan
[18:46:38] *** BearishMushroom <BearishMushroom!~BearishMu@82-209-154-59.cust.bredband2.com> has joined ##vulkan
[18:49:04] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has quit IRC (Read error: Connection reset by peer)
[18:49:10] *** LanDi <LanDi!~landi@191.35.75.69> has joined ##vulkan
[18:49:57] *** _borkr_ <_borkr_!~borkr@static130-244.mimer.net> has joined ##vulkan
[18:51:26] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has joined ##vulkan
[18:51:58] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has quit IRC (Read error: Connection reset by peer)
[18:54:47] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has joined ##vulkan
[18:57:01] *** LanDi <LanDi!~landi@191.35.75.69> has quit IRC (Remote host closed the connection)
[19:00:11] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has joined ##vulkan
[19:01:49] *** cheako <cheako!~cheako@2601:440:4100:4d1f::834> has joined ##vulkan
[19:04:27] *** ville <ville!~ville@178-55-98-173.bb.dnainternet.fi> has quit IRC (Ping timeout: 240 seconds)
[19:04:32] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has quit IRC (Ping timeout: 260 seconds)
[19:06:25] <cheako> hi.
[19:06:55] *** cheako <cheako!~cheako@2601:440:4100:4d1f::834> has quit IRC (Quit: cheako)
[19:07:16] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has joined ##vulkan
[19:07:24] *** cheako <cheako!~cheako@2601:440:4100:4d1f::834> has joined ##vulkan
[19:08:22]
<cheako> https://pastebin.com/tTmzeeid A simple Vulkan app that seems to null pointer dereference variable gpu in call to vkEnumeratePhysicalDevices().
[19:08:57] <cheako> Hello.
[19:09:11] <Yaniel> hi
[19:10:11] <cheako> My irc app is not displaying text, I'll try another.
[19:10:17] *** cheako <cheako!~cheako@2601:440:4100:4d1f::834> has quit IRC (Client Quit)
[19:15:36] *** ville <ville!~ville@87-95-196-235.bb.dnainternet.fi> has joined ##vulkan
[19:18:09] *** cheako <cheako!~cheako@2601:440:4100:4d1f::834> has joined ##vulkan
[19:18:20] <cheako> I'm back.
[19:18:24] *** cheako is now known as Guest13518
[19:18:40] *** Fats <Fats!fats@gateway/vpn/privateinternetaccess/fats> has quit IRC (Read error: Connection reset by peer)
[19:19:52] *** Fats <Fats!fats@gateway/vpn/privateinternetaccess/fats> has joined ##vulkan
[19:21:49]
<Guest13518> https://pastebin.com/tTmzeeid A simple Vulkan app that seems to null pointer dereference variable gpu in call to vkEnumeratePhysicalDevices().
[19:24:55] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has joined ##vulkan
[19:27:13] *** Guest13518 is now known as cheako911
[19:42:18] *** bwidawsk <bwidawsk!~bwidawsk@zangief.bwidawsk.net> has quit IRC (Quit: Always remember, and never forget; I'll be back.)
[19:42:45] *** bwidawsk <bwidawsk!~bwidawsk@zangief.bwidawsk.net> has joined ##vulkan
[19:44:06] *** bwidawsk <bwidawsk!~bwidawsk@zangief.bwidawsk.net> has quit IRC (Client Quit)
[19:44:36] *** bwidawsk <bwidawsk!~bwidawsk@zangief.bwidawsk.net> has joined ##vulkan
[19:50:01] <Bl4ckb0ne> cheako911, in your first call, line 59
[19:50:11] <Bl4ckb0ne> replace &gpu with NULL
[19:50:36] <Bl4ckb0ne> because the third parameter is useless in the first call, since you just want the count
[19:51:07] <Bl4ckb0ne> plus the variable gpu is not defined because you're in closed scope (brackets at line 56 and 60)
[19:53:09] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has joined ##vulkan
[19:56:50] <cheako911> Bl4ckb0ne: -Wall reports gpu is found and of correct type. As for the std procedure of calling vkEnumeratePhysicalDevices twice that's not applicable here because I'm following the spec namely that parameter 2 is a pointer to a 1 and that parameter 3 is not NULL. The call is meant to place to first PhysicalDevice pointer into gpu.
[19:57:46] <cheako911> I'm not looking to probe the number of Physical devices with a call to vkEnumeratePhysicalDevices with parameter 3 NULL.
[19:59:42] <cheako911> I'll test calling vkEnumeratePhysicalDevices twice though.
[20:00:18] <Bl4ckb0ne> maybe the call founds more than 1 usable gpu
[20:00:23] <Bl4ckb0ne> but you have size for only one
[20:00:40] <Bl4ckb0ne> also parameter 2 is an output parameter
[20:00:53] <Bl4ckb0ne> check its value after the first call
[20:04:03] <cheako911> I added "uint32_t gpu_count = 0; vkEnumeratePhysicalDevices (instance, &gpu_count, NULL); gpu_count = 1;" and this changed things considerably.
[20:05:43] <Bl4ckb0ne> here's a good call to it
[20:05:48] <Bl4ckb0ne> since you just want the first one
[20:05:52] <cheako911> Read Description on the link you gave, it's quite clear.
[20:07:41] <cheako911> thanks I'll use that.
[20:07:49] <Bl4ckb0ne> yw
[20:19:10] *** jdashg <jdashg!~jdashg@corp-nat.fw1.untrust.mtv2.mozilla.net> has joined ##vulkan
[20:21:32] *** tambre <tambre!~tambre@ad84-a4d1-a728-ed6d-ab80-8a0a-07d0-2001.dyn.estpak.ee> has quit IRC (Ping timeout: 260 seconds)
[20:28:17] *** ratchet_freak <ratchet_freak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has joined ##vulkan
[20:28:50] *** Vannaheim <Vannaheim!~Vanaheim@janus-nat-128-240-225-124.ncl.ac.uk> has quit IRC (Quit: Leaving)
[20:28:50] *** Vanaheim <Vanaheim!~Vanaheim@janus-nat-128-240-225-124.ncl.ac.uk> has quit IRC (Quit: Leaving)
[20:31:46] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7ob3oun8gbtf98.18120a2.ip6.access.telenet.be> has quit IRC (Ping timeout: 256 seconds)
[20:37:36] *** Kingsquee <Kingsquee!~kingsquee@d154-5-142-128.bchsia.telus.net> has joined ##vulkan
[20:40:54] *** cheako911 <cheako911!~cheako@2601:440:4100:4d1f::834> has quit IRC (Ping timeout: 252 seconds)
[20:55:57] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has quit IRC (Ping timeout: 260 seconds)
[21:06:39] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[21:18:46] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has joined ##vulkan
[21:25:17] *** goiko <goiko!~goiko@p57B5D7D4.dip0.t-ipconnect.de> has joined ##vulkan
[21:25:17] *** goiko <goiko!~goiko@p57B5D7D4.dip0.t-ipconnect.de> has quit IRC (Changing host)
[21:25:17] *** goiko <goiko!~goiko@unaffiliated/goiko> has joined ##vulkan
[21:43:20] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has quit IRC (Read error: Connection reset by peer)
[21:44:37] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has joined ##vulkan
[21:50:10] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has quit IRC (Read error: Connection reset by peer)
[21:51:16] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has joined ##vulkan
[21:53:36] *** Methos_ is now known as GGMethos
[21:58:23] *** random_james_awy is now known as random_james
[22:02:22] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has quit IRC (Remote host closed the connection)
[22:10:07] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has quit IRC ()
[22:10:18] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[22:29:06] *** panda81 <panda81!a2f6d81c@gateway/web/cgi-irc/kiwiirc.com/ip.162.246.216.28> has joined ##vulkan
[22:38:47] *** afl_ext <afl_ext!~afl_ext@unaffiliated/afl-ext/x-2796036> has quit IRC (Ping timeout: 276 seconds)
[22:39:22] *** nsf <nsf!~nsf@jiss.convex.ru> has quit IRC (Quit: WeeChat 2.0.1)
[22:48:49] *** slime <slime!~slime73@blk-215-81-93.eastlink.ca> has joined ##vulkan
[22:48:53] *** realitix <realitix!~realitix@80.215.3.236> has quit IRC (Quit: realitix)
[22:54:18] *** MrFlibble <MrFlibble!MrFlibble@2.124.189.242> has joined ##vulkan
[23:06:00] *** Limeth_ <Limeth_!5e8eee9e@gateway/web/freenode/ip.94.142.238.158> has quit IRC (Ping timeout: 260 seconds)
[23:09:37] *** glYoda <glYoda!~MTLYoda@c-73-25-27-206.hsd1.or.comcast.net> has quit IRC (Quit: glYoda)
[23:14:10] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has joined ##vulkan
[23:19:07] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Quit: Leaving)
[23:31:29] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has quit IRC (Read error: Connection reset by peer)
[23:36:48] *** marijnfs_ <marijnfs_!~smuxi@2a01:c23:c022:e400:eb39:8238:c76b:4cbc> has joined ##vulkan
[23:42:57] *** _borkr_ <_borkr_!~borkr@static130-244.mimer.net> has quit IRC (Remote host closed the connection)
[23:46:54] *** salamanderrake <salamanderrake!~quassel@cpe-24-165-192-204.neo.res.rr.com> has joined ##vulkan
[23:55:02] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[23:55:48] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has joined ##vulkan
[23:55:49] *** davr0s <davr0s!~textual@host81-153-204-241.range81-153.btcentralplus.com> has quit IRC (Client Quit)
[23:59:26] *** LurchMan <LurchMan!~LurchMan@8.28.55.10> has joined ##vulkan