Switch to DuckDuckGo Search
   June 16, 2017  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >

Toggle Join/Part | bottom
[00:17:42] *** spara <spara!~spara@37.169.31.166> has joined ##vulkan
[00:21:25] *** spara_ <spara_!~spara@37.169.31.166> has quit IRC (Ping timeout: 268 seconds)
[00:24:25] *** jkilpatr <jkilpatr!~jkilpatr@2602:30a:c7da:b600:1202:b5ff:fe3b:d41d> has quit IRC (Ping timeout: 246 seconds)
[00:25:16] *** Biolunar <Biolunar!Biolunar@dslb-092-073-140-159.092.073.pools.vodafone-ip.de> has quit IRC (Ping timeout: 255 seconds)
[00:33:24] *** David3k <David3k!~David3k@120.29.112.49> has joined ##vulkan
[00:33:43] *** ravior <ravior!~crapitea@5-13-233-238.residential.rdsnet.ro> has quit IRC (Quit: Konversation terminated!)
[00:35:52] *** metalhead33 <metalhead33!~metalhead@BC24CF54.dsl.pool.telekom.hu> has joined ##vulkan
[00:36:43] <metalhead33> I have a confession to make - despite being a total noob in graphics (and therefore a person who shouldn't be even touching Vulkan) - I fell in love with Vulkan's style. I prefer it to Gl's style. I just love the way you can make vertex buffers, for example.
[00:37:21] *** nsf <nsf!~nsf@jiss.convex.ru> has quit IRC (Quit: WeeChat 1.7.1)
[00:38:51] *** hlmjr <hlmjr!~herb@c-76-120-173-141.hsd1.pa.comcast.net> has quit IRC (Quit: Konversation terminated!)
[00:41:32] *** toor_ <toor_!~toor@eth-east-parth2-46-193-65-52.wb.wifirst.net> has joined ##vulkan
[00:43:28] <Ralith> vulkan is a hell of a lot less crufty and more consistent, certainly
[00:45:17] <ratchetfreak> and once you get it there are few surprises
[00:49:23] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has quit IRC (Ping timeout: 260 seconds)
[00:57:12] *** fkaa <fkaa!~tundmatu@2001:2002:51ec:b2f3:708c:294b:4123:de25> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[01:01:02] <Ralith> and the internet isn't thoroughly saturated with grossly outdated advice concerning it
[01:02:16] *** David3k <David3k!~David3k@120.29.112.49> has quit IRC (Quit: SOUUUUUUULS)
[01:03:56] <metalhead33> Is there a way to copy from the RAM to VRAM in Vulkan via methods other than vkMapMemory?
[01:04:24] <metalhead33> I want to just point it to a memory location and give it the number of bytes and get it over with, without having to memcpy, like described in the tutorial.
[01:05:29] <ratchetfreak> you need to put it into mapped memory
[01:05:44] <metalhead33> Yes, but... is there a cheaper method than this? http://i.imgur.com/LvsTpso.png
[01:06:08] <metalhead33> Can't I just map it to the pointer to the first element of the vector?
[01:06:46] <ratchetfreak> you can map the buffer first and then put the elements in there directly
[01:06:50] <ratchetfreak> scrap the vector
[01:08:01] <metalhead33> The thing is... The constructor takes a vector as an argument. So I still work with vectors. This is to abstract between graphics API's.
[01:09:36] <metalhead33> Is there no Vulkan equivalent of memcpy?
[01:10:02] <ratchetfreak> no
[01:11:10] <metalhead33> So the only solution is to copy all the data from the vector to a new mapped location before it even gets written into the VRAM. Seems wasteful to me, but okay...
[01:11:37] <ratchetfreak> or put in a way to get the client code to put the data into mapped memory directly
[01:13:36] *** derhass <derhass!~derhass@ipservice-092-216-127-230.092.216.pools.vodafone-ip.de> has quit IRC (Quit: leaving)
[01:14:30] <chrisf> depending on the hw, that mapped buffer may be VRAM, and so the final resting place for the data.
[01:16:08] *** kdub <kdub!~kdub@d28-23-90-65.dim.wideopenwest.com> has joined ##vulkan
[01:16:45] <metalhead33> I'll just remain with using memcpy to copy from the std::vector to the mapped memory... even though I still consider it wasteful. There seems to be no other way, and I ain't gonna stop using the std::vector.
[01:16:54] <chrisf> GCN for example has a ~256MB region of VRAM that can be mapped
[01:21:26] <chrisf> you've shot yourself in the foot though insisting on a temporary vector
[01:21:29] <metalhead33> At this point, I should create a class for memory stuff too, instead of using it directly in my Vk::ArrayBuffer clas
[01:21:59] <metalhead33> I might rectify it later on.
[01:22:59] <chrisf> metalhead33: for both VK and modern GL, you may want to just create a big slab of staging memory, map it forever, and expose whatever vector-like things you want on top of that
[01:23:20] <metalhead33> That actually sounds like a pretty good idea. Thanks!
[01:25:28] *** ratchetfreak <ratchetfreak!~ratchetfr@194.151.204.150> has quit IRC (Ping timeout: 260 seconds)
[01:27:52] <fazias> funny fact, either you map the memory or the driver does it, regardless there is a memcpy
[01:31:21] <fazias> and by driver, I kind of mean the opengl/dx11 apis. The memcpy is just exposed to the user.
[01:32:44] <fazias> If you were working on consoles or had integrated gpu, you could maybe map the "gpu" residing buffers straight. ;)
[01:33:34] *** LurchMan <LurchMan!~LurchMan@ny01-p01-10ge-xe-2-3-0-1.turnkeyinternet.net> has quit IRC (Quit: Nettalk6 - www.ntalk.de)
[01:40:36] *** qptain_Nemo <qptain_Nemo!~qN@broadband-77-37-235-217.moscow.rt.ru> has joined ##vulkan
[01:42:18] *** Neomex_ <Neomex_!~Neomex@net-2-36-244-105.cust.vodafonedsl.it> has joined ##vulkan
[01:42:33] *** Neomex_ <Neomex_!~Neomex@net-2-36-244-105.cust.vodafonedsl.it> has quit IRC (Read error: Connection reset by peer)
[01:42:42] *** jkilpatr <jkilpatr!~jkilpatr@2602:30a:c7da:b600:1202:b5ff:fe3b:d41d> has joined ##vulkan
[01:46:17] *** Neomex <Neomex!~Neomex@net-2-36-244-105.cust.vodafonedsl.it> has quit IRC (Ping timeout: 255 seconds)
[01:58:31] *** hlmjr <hlmjr!~herb@c-76-120-173-141.hsd1.pa.comcast.net> has joined ##vulkan
[02:12:41] *** jkilpatr <jkilpatr!~jkilpatr@2602:30a:c7da:b600:1202:b5ff:fe3b:d41d> has quit IRC (Ping timeout: 246 seconds)
[02:14:26] *** HuntsMan <HuntsMan!~hunts@x4e33aba0.dyn.telefonica.de> has joined ##vulkan
[02:17:19] *** spara <spara!~spara@37.169.31.166> has quit IRC (Read error: Connection reset by peer)
[02:18:33] *** Hunts <Hunts!~hunts@x4e3337a6.dyn.telefonica.de> has quit IRC (Ping timeout: 260 seconds)
[02:22:39] *** vitimiti <vitimiti!~Celtor@unaffiliated/vitimiti> has quit IRC (Ping timeout: 255 seconds)
[02:28:37] *** MrFlibble <MrFlibble!MrFlibble@2.219.22.82> has quit IRC (Quit: MrFlibble)
[02:31:34] <metalhead33> fazias and chrisf: Why not map the memory first... and then basically *mapped_memory = std::vec... oh wait, it doesn't work like that. You can't force C++ to create a new class at a specific memory location.
[02:32:10] <metalhead33> Unless you use reinterpret_cast, but still, you gotta zero out everything before that.
[02:32:39] <metalhead33> But nah, it wouldn't work like that either.
[02:38:11] <metalhead33> Oh wait, you can create an object at a certain memory spot with placement new. But std::vector still ain't gonna work, because it only has the pointer to the data, not the data itself.
[02:40:57] <Ralith> you could define a STL-compatible allocator
[02:41:14] *** redpill <redpill!~redpill@unaffiliated/redpill> has quit IRC (Read error: Connection reset by peer)
[02:41:15] <Ralith> forcing yourself to jump through a loot of hoops for dubious reasons at that point, though
[02:50:50] *** toor_ <toor_!~toor@eth-east-parth2-46-193-65-52.wb.wifirst.net> has quit IRC (Ping timeout: 240 seconds)
[03:14:15] *** metalhead33 <metalhead33!~metalhead@BC24CF54.dsl.pool.telekom.hu> has quit IRC (Quit: Leaving.)
[03:18:34] *** ZexaronS <ZexaronS!~zexpc@cpe-194-152-22-45.static.triera.net> has joined ##vulkan
[03:24:54] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[03:58:10] *** qptain_Nemo <qptain_Nemo!~qN@broadband-77-37-235-217.moscow.rt.ru> has quit IRC (Ping timeout: 255 seconds)
[04:46:04] *** redpill <redpill!~redpill@unaffiliated/redpill> has joined ##vulkan
[04:48:02] *** GMpow5srV <GMpow5srV!~goedelmac@55d45dfd.access.ecotel.net> has joined ##vulkan
[04:51:43] *** GMpow3srV <GMpow3srV!~goedelmac@55d447ce.access.ecotel.net> has quit IRC (Ping timeout: 255 seconds)
[05:04:13] *** tambre <tambre!~tambre@20da-ff4b-bf49-5da5-0e80-8a31-07d0-2001.dyn.estpak.ee> has joined ##vulkan
[05:07:35] *** sla_ro|master <sla_ro|master!~sla.ro@95.76.45.217> has joined ##vulkan
[05:09:39] *** tambre <tambre!~tambre@20da-ff4b-bf49-5da5-0e80-8a31-07d0-2001.dyn.estpak.ee> has quit IRC (Ping timeout: 258 seconds)
[05:38:22] *** TechnoCrunch <TechnoCrunch!~TechnoCru@101.100.137.146> has joined ##vulkan
[05:52:09] *** tambre <tambre!~tambre@750a-9fcf-ea48-d074-0e80-8a31-07d0-2001.dyn.estpak.ee> has joined ##vulkan
[05:57:10] *** Zeranoe <Zeranoe!~Zeranoe@gateway/vpn/privateinternetaccess/zeranoe> has joined ##vulkan
[05:57:52] *** sla_ro|master <sla_ro|master!~sla.ro@95.76.45.217> has quit IRC ()
[05:59:38] <Zeranoe> Pretty new to Vulkan. Can anyone point me in the direction of parallel computing? Can Vulkan be used to run a task on mutliple GPU cores?
[06:15:27] *** Zeranoe_ <Zeranoe_!~Zeranoe@c-71-227-126-94.hsd1.mi.comcast.net> has joined ##vulkan
[06:18:24] *** Zeranoe <Zeranoe!~Zeranoe@gateway/vpn/privateinternetaccess/zeranoe> has quit IRC (Ping timeout: 260 seconds)
[07:02:24] *** Zeranoe_ <Zeranoe_!~Zeranoe@c-71-227-126-94.hsd1.mi.comcast.net> has quit IRC (Quit: WeeChat 1.8)
[07:43:22] *** vitimiti <vitimiti!~Celtor@unaffiliated/vitimiti> has joined ##vulkan
[07:49:47] *** realitix <realitix!~realitix@92.103.166.6> has joined ##vulkan
[07:54:47] *** toor_ <toor_!~toor@eth-east-parth2-46-193-65-52.wb.wifirst.net> has joined ##vulkan
[07:58:47] *** vitimiti <vitimiti!~Celtor@unaffiliated/vitimiti> has quit IRC (Ping timeout: 255 seconds)
[07:59:19] *** toor_ <toor_!~toor@eth-east-parth2-46-193-65-52.wb.wifirst.net> has quit IRC (Remote host closed the connection)
[08:03:42] *** ravior <ravior!~crapitea@5-13-233-238.residential.rdsnet.ro> has joined ##vulkan
[08:04:13] *** nsf <nsf!~nsf@jiss.convex.ru> has joined ##vulkan
[08:07:27] *** realitix <realitix!~realitix@92.103.166.6> has quit IRC (Read error: Connection reset by peer)
[08:31:17] *** realitix <realitix!~realitix@92.103.166.6> has joined ##vulkan
[09:03:37] *** tarceri <tarceri!~tarceri@CPE-137-147-145-51.lnse7.win.bigpond.net.au> has quit IRC (Read error: Connection reset by peer)
[09:04:19] *** tarceri <tarceri!~tarceri@CPE-137-147-145-51.lnse7.win.bigpond.net.au> has joined ##vulkan
[09:12:45] *** GMpow5srV <GMpow5srV!~goedelmac@55d45dfd.access.ecotel.net> has quit IRC (Remote host closed the connection)
[09:13:02] *** GMpow5srV <GMpow5srV!~goedelmac@55d45dfd.access.ecotel.net> has joined ##vulkan
[09:13:13] *** tarceri <tarceri!~tarceri@CPE-137-147-145-51.lnse7.win.bigpond.net.au> has quit IRC (Read error: Connection reset by peer)
[09:14:18] *** tarceri <tarceri!~tarceri@CPE-137-147-145-51.lnse7.win.bigpond.net.au> has joined ##vulkan
[09:18:18] *** laalaa <laalaa!d5f39e58@gateway/web/cgi-irc/kiwiirc.com/ip.213.243.158.88> has joined ##vulkan
[09:25:31] <laalaa> day 4, finished my hello triangle. bet it's gonna be year 4 when i load a model
[09:45:04] <neure> its actually not much extra work from triangle to model
[09:45:41] <neure> assuming you have something which loads the model - that has very little to do with vulkan
[09:49:00] <laalaa> hm, that's good to hear
[10:04:03] *** kasumi-owari <kasumi-owari!~kasumi-ow@ftth-213-233-237-007.solcon.nl> has quit IRC (Ping timeout: 260 seconds)
[10:04:48] *** kasumi-owari <kasumi-owari!~kasumi-ow@ftth-213-233-237-007.solcon.nl> has joined ##vulkan
[10:05:35] *** psychicist__ <psychicist__!~psychicis@ip127-8-212-87.adsl2.static.versatel.nl> has joined ##vulkan
[10:12:12] *** laalaa <laalaa!d5f39e58@gateway/web/cgi-irc/kiwiirc.com/ip.213.243.158.88> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[10:18:44] *** afl_ext <afl_ext!~afl_ext3@unaffiliated/afl-ext/x-2796036> has joined ##vulkan
[10:26:48] *** Biolunar <Biolunar!Biolunar@dslb-094-220-173-097.094.220.pools.vodafone-ip.de> has joined ##vulkan
[10:28:43] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##vulkan
[10:28:48] *** ratchetfreak <ratchetfreak!~ratchetfr@194.151.204.157> has joined ##vulkan
[10:35:14] *** joakim___ <joakim___!uid154127@gateway/web/irccloud.com/x-mpxzlgtagubqztym> has joined ##vulkan
[10:44:15] *** afl_ext <afl_ext!~afl_ext3@unaffiliated/afl-ext/x-2796036> has quit IRC (Quit: Leaving)
[10:47:19] *** ravior <ravior!~crapitea@5-13-233-238.residential.rdsnet.ro> has quit IRC (Quit: Konversation terminated!)
[10:53:48] *** goiko <goiko!~goiko@unaffiliated/goiko> has joined ##vulkan
[11:07:19] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has joined ##vulkan
[11:20:12] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has joined ##vulkan
[11:41:08] *** ravior <ravior!~crapitea@89.121.200.106> has joined ##vulkan
[11:46:35] *** ravior <ravior!~crapitea@89.121.200.106> has quit IRC (Quit: Konversation terminated!)
[11:52:30] *** ravior <ravior!~crapitea@89.121.200.106> has joined ##vulkan
[11:53:50] *** CapsAdmin <CapsAdmin!~CapsAdmin@2001:4648:3832:0:4426:20d6:9b6a:ba72> has quit IRC (Ping timeout: 240 seconds)
[12:08:23] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has quit IRC (Ping timeout: 260 seconds)
[12:20:28] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[12:24:06] *** kasumi-owari <kasumi-owari!~kasumi-ow@ftth-213-233-237-007.solcon.nl> has quit IRC (Ping timeout: 240 seconds)
[12:27:35] *** kasumi-owari <kasumi-owari!~kasumi-ow@ftth-213-233-237-007.solcon.nl> has joined ##vulkan
[12:42:25] *** TechnoCrunch <TechnoCrunch!~TechnoCru@101.100.137.146> has quit IRC (Read error: Connection reset by peer)
[12:59:49] *** jkilpatr <jkilpatr!jkilpatr@nat/redhat/x-twzogixvfiecjyru> has joined ##vulkan
[13:00:01] *** spossiba <spossiba!~spossiba@unaffiliated/stryx/x-3871776> has quit IRC (Quit: Lost terminal)
[13:00:29] *** spossiba <spossiba!~spossiba@unaffiliated/stryx/x-3871776> has joined ##vulkan
[13:02:31] *** psychicist__ <psychicist__!~psychicis@ip127-8-212-87.adsl2.static.versatel.nl> has quit IRC (Ping timeout: 246 seconds)
[13:04:06] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has joined ##vulkan
[13:04:25] *** joakim___ <joakim___!uid154127@gateway/web/irccloud.com/x-mpxzlgtagubqztym> has quit IRC (Quit: Connection closed for inactivity)
[13:08:40] *** fkaa <fkaa!~tundmatu@2001:2002:51ec:b2f3:9445:bc7a:511c:3774> has joined ##vulkan
[13:10:19] *** kasumi-owari <kasumi-owari!~kasumi-ow@ftth-213-233-237-007.solcon.nl> has quit IRC (Ping timeout: 255 seconds)
[13:11:41] *** kasumi-owari <kasumi-owari!~kasumi-ow@ftth-213-233-237-007.solcon.nl> has joined ##vulkan
[13:21:49] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has joined ##vulkan
[13:23:35] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Ping timeout: 240 seconds)
[13:30:49] *** joakim___ <joakim___!uid154127@gateway/web/irccloud.com/x-vdcbxpvrxucypeqb> has joined ##vulkan
[13:57:23] *** tacchinotacchi <tacchinotacchi!~tacchinot@net-93-147-6-32.cust.vodafonedsl.it> has joined ##vulkan
[13:59:12] *** tacchinotacchi <tacchinotacchi!~tacchinot@net-93-147-6-32.cust.vodafonedsl.it> has quit IRC (Client Quit)
[14:04:25] *** psychicist__ <psychicist__!~psychicis@wlan-145-94-157-55.wlan.tudelft.nl> has joined ##vulkan
[14:12:13] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##vulkan
[14:17:31] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[14:19:30] *** echotangoecho <echotangoecho!~echotango@dhcp-089-098-177-067.chello.nl> has joined ##vulkan
[14:24:39] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has joined ##vulkan
[14:26:36] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Quit: Leaving)
[14:26:55] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##vulkan
[14:36:37] *** rlarionov <rlarionov!~rlarionov@165.204.77.1> has joined ##vulkan
[14:56:25] *** metalhead33 <metalhead33!~metalhead@BC24CF54.dsl.pool.telekom.hu> has joined ##vulkan
[14:56:37] *** rlarionov <rlarionov!~rlarionov@165.204.77.1> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[14:57:01] <metalhead33> Well, Vulkan memory management feels like writing your own OS.
[15:03:09] <fazias> I like how vulkan really depicts gpu as. Separate device where you have your own allocations and then a interface to tell the gpu to do something.
[15:15:27] *** hlmjr <hlmjr!~herb@c-76-120-173-141.hsd1.pa.comcast.net> has quit IRC (Remote host closed the connection)
[15:18:03] *** ville__ <ville__!~ville@37-136-21-15.rev.dnainternet.fi> has joined ##vulkan
[15:20:12] *** ville <ville!~ville@37-136-59-179.rev.dnainternet.fi> has quit IRC (Ping timeout: 260 seconds)
[15:20:14] *** ville__ is now known as ville
[15:20:39] *** rlarionov <rlarionov!~rlarionov@165.204.77.1> has joined ##vulkan
[15:22:08] *** rlarionov <rlarionov!~rlarionov@165.204.77.1> has quit IRC (Client Quit)
[15:24:30] *** ville__ <ville__!~ville@87-95-251-215.bb.dnainternet.fi> has joined ##vulkan
[15:25:28] <metalhead33> It's like writing an operating system... for the GPU.
[15:25:44] *** ville <ville!~ville@37-136-21-15.rev.dnainternet.fi> has quit IRC (Ping timeout: 255 seconds)
[15:25:49] *** ville__ is now known as ville
[15:30:43] *** goiko <goiko!~goiko@unaffiliated/goiko> has quit IRC (Quit: ugh.. the only dates i get.. are updates :()
[15:32:23] *** laalaa <laalaa!d5f39e58@gateway/web/cgi-irc/kiwiirc.com/ip.213.243.158.88> has joined ##vulkan
[15:32:43] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Quit: Leaving)
[15:33:03] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##vulkan
[15:39:45] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[15:49:59] <fazias> but you still write specialized version that solves the problems that your program has. not a super generic which solves anything.
[15:50:37] <fazias> So accurate way would be to say that you write "driver only for your application"
[15:52:04] <metalhead33> TEchnically speaking, I am writing an engine that CAN be reused. Hopefully.
[15:52:32] <fazias> s/application/engine
[15:52:49] <metalhead33> And right now, I haven't even gotten to that point. At this point, all I have is some C++ wrapper and abstraction for Vulkan (and to a lesser extent, GL).
[15:58:54] <echotangoecho> metalhead33: are you also developing an application alongside it? in my experience, it is quite hard to know what you need in an engine if you are not writing some application with it
[15:59:21] <metalhead33> I am kind of intending to develop a game with it.
[15:59:54] <metalhead33> I am now considering fragmenting the Vulkan device memory with linked list.
[15:59:59] <metalhead33> Chunk Allocation Table?
[16:00:14] *** davr0s <davr0s!~textual@host81-153-35-152.range81-153.btcentralplus.com> has joined ##vulkan
[16:01:56] <metalhead33> Or.... Vkfs (vulkan filesystem).... I'm either an idiot to come up with a such a name, or too creative for my own good.
[16:07:49] *** RicardasSim <RicardasSim!~RicardasS@78-63-172-44.static.zebra.lt> has joined ##vulkan
[16:14:04] <sharpneli> Memory allocation is the kind where a generic solution tends to lose to specialized ones
[16:14:22] <sharpneli> We have basically 2 kinds of memory allocations. The ones that happen rarely and the ones that happen all the time (like per frame etc)
[16:14:42] <sharpneli> It really helps with the fragmentation etc when they're separated
[16:15:11] <metalhead33> http://paste.touhou.fm/agemomahex.cpp
[16:15:47] <metalhead33> Oh wait, I'll add a few comments for you guys to read
[16:18:14] <metalhead33> http://paste.touhou.fm/xinoxapace.cpp okay, here
[16:22:06] *** laalaa <laalaa!d5f39e58@gateway/web/cgi-irc/kiwiirc.com/ip.213.243.158.88> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[16:24:52] *** Biolunar <Biolunar!Biolunar@dslb-094-220-173-097.094.220.pools.vodafone-ip.de> has quit IRC (Quit: leaving)
[16:28:49] *** LurchMan <LurchMan!~LurchMan@ny01-p01-10ge-xe-2-3-0-1.turnkeyinternet.net> has joined ##vulkan
[16:29:37] *** laalaa <laalaa!d5f39e58@gateway/web/cgi-irc/kiwiirc.com/ip.213.243.158.88> has joined ##vulkan
[16:31:29] <metalhead33> http://paste.touhou.fm/obepalagek.cpp At this point, I am questioning if I should be even using the std::list to begin with, and strongly considering writing my own double linked list.
[16:32:21] <ratchetfreak> why use list over a vector?
[16:33:44] <metalhead33> Because it is not necessary at all for the chunks/"files" (which are basically just pointers to VRAM addresses anyway) to be stored in a contiguous memory block. In fact, I figured that since FAT also uses a linked list... why not use a linked list here too?
[16:34:49] <ratchetfreak> linked list is kinda horrible for cache locality
[16:36:04] <ratchetfreak> and you should only use std::list when you need referential consistency (keeping pointers to the data valid)
[16:52:03] *** laalaa <laalaa!d5f39e58@gateway/web/cgi-irc/kiwiirc.com/ip.213.243.158.88> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[16:52:04] *** ravior <ravior!~crapitea@89.121.200.106> has quit IRC (Quit: Konversation terminated!)
[16:57:17] *** realitix <realitix!~realitix@92.103.166.6> has quit IRC (Quit: Leaving)
[16:59:00] *** k_sze <k_sze!~Kira@unaffiliated/kira> has joined ##vulkan
[17:00:00] <k_sze> Does anybody know of good resources for learning Vulkan compute programming? I don't care about the graphics part. I only care about compute.
[17:01:01] <k_sze> Unfortunately a lot of the current hype surrounds Vulkan's graphics ability and not compute.
[17:04:09] <echotangoecho> the primary thing you should care about is learning how GLSL compute shaders work
[17:04:17] <echotangoecho> there are some limitations though
[17:04:46] <echotangoecho> GLSL compute shaders aren't as full-featured / nice as CUDA or even OpenCL
[17:05:17] <echotangoecho> (I'm hoping the compute support will be improved in the future)
[17:07:22] <echotangoecho> you should understand that compute shaders are primarily meant to do some compute tasks on the gpu in a graphics based program without having to bring in the complexity of OpenCL or CUDA
[17:07:58] <echotangoecho> if your application only does compute, it is very likely that using CUDA / OpenCL is a better idea
[17:13:12] <k_sze> I thought Vulkan is the future (Khronos said OpenCL would be merging into Vulkan at when they released OpenCL 2.2).
[17:13:42] <echotangoecho> yeah, but for now you can't use OpenCL kernels with Vulkan :(
[17:15:00] <k_sze> SPIR-V doesn't help?
[17:15:25] *** rlarionov <rlarionov!~rlarionov@165.204.77.1> has joined ##vulkan
[17:15:30] <echotangoecho> no, OpenCL SPIR-V is different from Vulkan SPIR-V, at the moment
[17:16:04] <echotangoecho> but the intention of khronos is to merge the things, I think
[17:17:50] <echotangoecho> but I'm not all that sure, OpenCL 2.0 isn't even officially supported on NVIDIA yet, even though the president of Khronos is a NVIDIA guy, and Vulkan supporting compute better would mean more competition for CUDA/NVIDIA
[17:19:19] <k_sze> I see.
[17:23:04] *** ratchet_freak <ratchet_freak!~ratchetfr@194.151.204.157> has joined ##vulkan
[17:23:44] *** ratchetfreak <ratchetfreak!~ratchetfr@194.151.204.157> has quit IRC (Ping timeout: 258 seconds)
[17:24:34] *** nsf <nsf!~nsf@jiss.convex.ru> has quit IRC (Quit: WeeChat 1.7.1)
[17:25:06] *** HuntsMan <HuntsMan!~hunts@x4e33aba0.dyn.telefonica.de> has quit IRC (Ping timeout: 240 seconds)
[17:26:21] <sharpneli> Also the numerical requirements for compute shaders are kinda so and so compared to OpenCL/Cuda
[17:27:07] <sharpneli> Completely suitable for vast majority of purposes. But if you really need a spec on level of "1 ULP of error in operation Z" then OpenCL is the way
[17:29:39] *** HuntsMan <HuntsMan!~hunts@x4e32d0c8.dyn.telefonica.de> has joined ##vulkan
[17:33:37] *** HuntsMan <HuntsMan!~hunts@x4e32d0c8.dyn.telefonica.de> has quit IRC (Remote host closed the connection)
[17:34:11] *** HuntsMan <HuntsMan!~hunts@x4e32d0c8.dyn.telefonica.de> has joined ##vulkan
[17:38:09] *** echotangoecho <echotangoecho!~echotango@dhcp-089-098-177-067.chello.nl> has quit IRC (Quit: leaving)
[17:45:35] *** psychicist__ <psychicist__!~psychicis@wlan-145-94-157-55.wlan.tudelft.nl> has quit IRC (Ping timeout: 258 seconds)
[17:58:24] *** toor_ <toor_!~toor@eth-east-parth2-46-193-65-52.wb.wifirst.net> has joined ##vulkan
[18:00:26] *** MrFlibble <MrFlibble!MrFlibble@2.219.22.82> has joined ##vulkan
[18:38:05] *** sla_ro|master <sla_ro|master!~sla.ro@95.76.45.217> has joined ##vulkan
[19:03:11] *** ZexaronS-2 <ZexaronS-2!~zexpc@cpe-194-152-22-45.static.triera.net> has joined ##vulkan
[19:03:13] *** ZexaronS-2 <ZexaronS-2!~zexpc@cpe-194-152-22-45.static.triera.net> has quit IRC (Remote host closed the connection)
[19:03:50] *** ZexaronS <ZexaronS!~zexpc@cpe-194-152-22-45.static.triera.net> has quit IRC (Ping timeout: 246 seconds)
[19:08:25] *** psychicist__ <psychicist__!~psychicis@ip127-8-212-87.adsl2.static.versatel.nl> has joined ##vulkan
[19:14:01] *** goiko <goiko!~goiko@p57B5DD60.dip0.t-ipconnect.de> has joined ##vulkan
[19:14:01] *** goiko <goiko!~goiko@p57B5DD60.dip0.t-ipconnect.de> has quit IRC (Changing host)
[19:14:01] *** goiko <goiko!~goiko@unaffiliated/goiko> has joined ##vulkan
[19:21:14] *** ZexaronS <ZexaronS!~zexpc@cpe-194-152-22-45.static.triera.net> has joined ##vulkan
[19:28:17] *** rlarionov <rlarionov!~rlarionov@165.204.77.1> has quit IRC (Quit: My MacBook has gone to sleep. ZZZzzz…)
[19:31:00] *** BearishMushroom <BearishMushroom!~BearishMu@90-231-174-194-no159.tbcn.telia.com> has joined ##vulkan
[19:38:03] *** spara <spara!~spara@ARennes-258-1-198-152.w2-11.abo.wanadoo.fr> has joined ##vulkan
[20:05:08] *** derhass <derhass!~derhass@ipservice-092-216-127-230.092.216.pools.vodafone-ip.de> has joined ##vulkan
[20:10:51] *** slidercrank <slidercrank!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has quit IRC (Quit: Leaving)
[20:20:55] *** thany <thany!~thany@151.242.149.168> has joined ##vulkan
[20:26:08] *** LanDi <LanDi!~landi@2804:7f7:2280:e5dc:ac5a:51fd:4570:35e> has joined ##vulkan
[20:39:31] *** RicardasSim <RicardasSim!~RicardasS@78-63-172-44.static.zebra.lt> has quit IRC (Quit: Leaving)
[20:43:37] *** spara <spara!~spara@ARennes-258-1-198-152.w2-11.abo.wanadoo.fr> has quit IRC (Read error: Connection reset by peer)
[20:55:27] *** Vtec234[m] <Vtec234[m]!vtec234mat@gateway/shell/matrix.org/x-rflrlomyiztcatim> has quit IRC (Ping timeout: 245 seconds)
[20:55:59] *** lieff[m] <lieff[m]!lieffmatri@gateway/shell/matrix.org/x-vjprdoalxqcddirc> has quit IRC (Ping timeout: 276 seconds)
[20:59:32] *** tgfrerer[m] <tgfrerer[m]!tgfrererma@gateway/shell/matrix.org/x-pqvyuffmbzlwrbho> has quit IRC (Ping timeout: 255 seconds)
[20:59:33] *** karroffel <karroffel!karroffelm@gateway/shell/matrix.org/x-mawwderxetaijzsa> has quit IRC (Ping timeout: 255 seconds)
[20:59:46] *** Yaniel <Yaniel!yanielkolm@gateway/shell/matrix.org/x-hwyhexpoefrprnpp> has quit IRC (Ping timeout: 264 seconds)
[20:59:56] *** Ralith <Ralith!ralithrali@gateway/shell/matrix.org/x-yenlctnxnalsvubw> has quit IRC (Ping timeout: 258 seconds)
[21:00:19] *** MatrixTraveler[m <MatrixTraveler[m!voyagert2b@gateway/shell/matrix.org/x-yvbgckhprtzvdmss> has quit IRC (Ping timeout: 258 seconds)
[21:00:19] *** bgrayburn[m] <bgrayburn[m]!bgrayburnm@gateway/shell/matrix.org/x-gygjkemhvxgwifec> has quit IRC (Ping timeout: 258 seconds)
[21:17:39] *** LanDi <LanDi!~landi@2804:7f7:2280:e5dc:ac5a:51fd:4570:35e> has quit IRC (Remote host closed the connection)
[21:23:30] *** tambre <tambre!~tambre@750a-9fcf-ea48-d074-0e80-8a31-07d0-2001.dyn.estpak.ee> has quit IRC (Ping timeout: 240 seconds)
[21:26:50] *** sla_ro|master <sla_ro|master!~sla.ro@95.76.45.217> has quit IRC ()
[21:34:25] *** joakim___ <joakim___!uid154127@gateway/web/irccloud.com/x-vdcbxpvrxucypeqb> has quit IRC (Quit: Connection closed for inactivity)
[21:35:21] *** crankslider <crankslider!~slidercra@ircpuzzles/2015/april-fools/fifth/slidercrank> has joined ##vulkan
[21:54:57] *** Fats <Fats!~Fats@gateway/vpn/privateinternetaccess/fats> has quit IRC (Remote host closed the connection)
[21:56:23] *** Fats <Fats!~Fats@gateway/vpn/privateinternetaccess/fats> has joined ##vulkan
[22:04:42] *** vitimiti <vitimiti!~Celtor@unaffiliated/vitimiti> has joined ##vulkan
[22:14:06] *** thany <thany!~thany@151.242.149.168> has quit IRC (Ping timeout: 240 seconds)
[22:20:15] *** thany <thany!~thany@151.242.149.168> has joined ##vulkan
[22:21:20] *** fkaa <fkaa!~tundmatu@2001:2002:51ec:b2f3:9445:bc7a:511c:3774> has quit IRC (Quit: Textual IRC Client: www.textualapp.com)
[22:31:58] *** thany <thany!~thany@151.242.149.168> has quit IRC (Ping timeout: 246 seconds)
[22:32:14] *** thany <thany!~thany@151.242.149.168> has joined ##vulkan
[22:38:23] *** ravior <ravior!~crapitea@5-13-233-238.residential.rdsnet.ro> has joined ##vulkan
[22:40:13] *** fkaa <fkaa!~tundmatu@2001:2002:51ec:b2f3:98a1:d7fc:fd27:c867> has joined ##vulkan
[22:40:29] *** nsf <nsf!~nsf@jiss.convex.ru> has joined ##vulkan
[23:12:21] *** Neomex <Neomex!~Neomex@net-2-36-244-105.cust.vodafonedsl.it> has joined ##vulkan
[23:22:30] *** Vanaheim <Vanaheim!~Vanaheim@janus-nat-128-240-225-82.ncl.ac.uk> has quit IRC (Ping timeout: 240 seconds)
[23:31:00] *** bgrayburn[m] <bgrayburn[m]!bgrayburnm@gateway/shell/matrix.org/x-vukjqnvwccjjnknk> has joined ##vulkan
[23:31:25] *** thany_ <thany_!~thany@151.241.201.230> has joined ##vulkan
[23:31:56] *** jkilpatr <jkilpatr!jkilpatr@nat/redhat/x-twzogixvfiecjyru> has quit IRC (Ping timeout: 246 seconds)
[23:32:53] *** thany <thany!~thany@151.242.149.168> has quit IRC (Ping timeout: 258 seconds)
[23:34:38] *** MatrixTraveler[m <MatrixTraveler[m!voyagert2b@gateway/shell/matrix.org/x-tjfbrprmwdyndits> has joined ##vulkan
[23:34:39] *** karroffel <karroffel!karroffelm@gateway/shell/matrix.org/x-vyqtvsvsmnfrszjy> has joined ##vulkan
[23:34:39] *** Yaniel <Yaniel!yanielkolm@gateway/shell/matrix.org/x-nzvfncgqrbclmzve> has joined ##vulkan
[23:34:39] *** Ralith <Ralith!ralithrali@gateway/shell/matrix.org/x-frtiwfvmnktshcno> has joined ##vulkan
[23:34:45] *** tgfrerer[m] <tgfrerer[m]!tgfrererma@gateway/shell/matrix.org/x-joncitzkbypzawed> has joined ##vulkan
[23:34:45] *** Vtec234[m] <Vtec234[m]!vtec234mat@gateway/shell/matrix.org/x-dykltufubgzdyafc> has joined ##vulkan
[23:34:45] *** lieff[m] <lieff[m]!lieffmatri@gateway/shell/matrix.org/x-capcwxbwlmeexjbc> has joined ##vulkan
top

   June 16, 2017  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >