[00:00:52] <ratchetfreak> or use a Deleter that is defined (but the operator() isn't defined in the header but in the cpp of the impl)
[00:01:40] <Ralith> dyl: forward-declaring classes works fine?
[00:01:52] <dyl> ratchetfreak that's what I was doing.
[00:01:58] <dyl> One second let me clean this up and I'll show the issue.
[00:02:14] <Ralith> you can't forward-declare member classes, but those are just marginal sugar anyway
[00:06:46] <dyl> The issue is more:
[00:06:50] <dyl> in the header I have `class RenderImpl`.
[00:06:59] <dyl> But then in Renderer.cpp I'd like to *specify* that RenderImpl is.
[00:07:02] <dyl> i.e. "complete it".
[00:07:30] <dyl> A macro doesn't cut it as it won't be able to unify them, it seems...
[00:08:27] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[00:11:50] <dyl> I was hoping to make the type name binding macro'd :/.
[00:11:55] <dyl> Rather than the includes.
[00:12:18]
*** TSS_ <TSS_!~TSS@2a02:2f0a:4030:1447:d250:99ff:fe83:4a0a> has quit IRC (Quit: ZNC 1.6.2 - http://znc.in)
[00:13:15] <dyl> Ralith to clarify, I just wasn't much for having RenderImpl in multiple places (if there were multiple impls)
[00:13:31] <dyl> I'd rather have ARenderer, BRenderer, CRenderer and bind the name RenderImpl in Renderer.cpp conditionally.
[00:13:41] <dyl> (even though the includes would still be ifdef'd out)
[00:13:42] *** TSS_ <TSS_!~TSS@188.27.178.159> has joined ##vulkan
[00:13:49] <dyl> To be nicer to intellisense/tags/etc.
[00:15:11] <dyl> The main use case I have for swappable implementation is a mock implementation, I really only care about vulkan for actual rendering.
[00:15:16] <ratchetfreak> normally once would use a interface and inheritance for that
[00:15:36] <ratchetfreak> then the interface is fully defined when it's used in the header
[00:15:50] <ratchetfreak> but the impls can be hidden
[00:16:02] <ratchetfreak> delete will work because of virtual destructor
[00:16:25] <dyl> Well, for now at least I can make this work.
[00:16:47] <dyl> It's good enough, and I don't think more inheritance is worth what will at most be 2 impls.
[00:16:48] <dyl> (one of which is a mock)
[00:16:52] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has quit IRC (Read error: Connection reset by peer)
[00:21:34] <dyl> ratchetfreak this seem kosher?
[00:21:56] <dyl> I wanted to get rid of the static factory method and remove some extraneous stuff.
[00:22:40] <dyl> s/window/framebuffer
[00:26:45] <Ralith> dyl: it's not really clear to me what you want to accomplish
[00:31:13] <dyl> At this point I’m just playing around a bit.
[00:31:45] <dyl> I mostly just want to be able to swap out the actual Vulkan renderer implementation for a mock/tracing one.
[00:32:18] <dyl> I.e. one which nops every method but logs regardless.
[00:33:52] *** slime <slime!~slime73@blk-215-81-93.eastlink.ca> has joined ##vulkan
[00:36:51] <Lymia> This should really be done at the vulkan layer level and not the application level
[00:36:58] <Lymia> See: RenderDoc
[00:37:41] <dyl> True but I’m targeting Apple devices and working on one.
[00:37:46] <dyl> So I don’t really have that luxury.
[00:37:54] <dyl> And besides I’d like to be able to do my own testing
[00:38:54] *** koz_ <koz_!~koz@121.99.240.58> has joined ##vulkan
[00:39:43] <koz_> Can someone suggest to me a beginner-friendly tutorial to SPIR-V (specifically writing it and then compiling with spirv-as)? I've no idea what any of it means when I read it.
[00:46:01] <dyl> My understanding is that you probably don’t need to know SPIR-V itself.
[00:46:04] <dyl> It’s a target IR.
[00:46:54] <koz_> dyl: How do I write compute shaders then?
[00:47:04] <ratchetfreak> glsl and compile with glslang
[00:47:12] <koz_> ratchetfreak: Oh.
[00:47:33] <dyl> You can also use the OpenCL C/C++ kernel langs can’t you?
[00:47:35] <koz_> So what's the deal with spirv-as and the rest of the stuff in SPIRVTools?
[00:47:49] <koz_> dyl: I dunno - hence why I'm asking.
[00:48:31] <koz_> Ah, so I can use LLVM to compile OpenCL C into SPIRV. That makes sense, thank you.
[00:48:51] <dyl> Well, no
[00:49:03] <dyl> But you can translate a subset LLVM to SPIR-V and back.
[00:49:13] <koz_> You mean LLVM bytecode?
[00:49:21] <dyl> LLVM itself doesn’t have a SPIR-V backend to my knowledge.
[00:49:47] <ratchetfreak> it's in the works last I heard
[00:50:03] <dyl> It should be feasible. LLVM is already used for MSL.
[00:50:17] <dyl> And that diagram suggests it’s happening
[00:50:55] <koz_> OK, thanks. That gives me more to go on.
[00:51:02] <dyl> For OpenCL C ⇒ SPIR-V
[00:51:30] *** cramalho <cramalho!~cramalho@179.190.254.211> has quit IRC (Quit: cramalho)
[00:51:49] *** cramalho <cramalho!~cramalho@2804:54:16f5:8200:bd67:9a34:7fbd:ea22> has joined ##vulkan
[01:29:11] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[02:11:45] *** Ralith_ <Ralith_!~ralith@c-24-143-116-108.customer.broadstripe.net> has quit IRC (Ping timeout: 264 seconds)
[02:12:44] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7lgupdkti53lhr.18120a2.ip6.access.telenet.be> has quit IRC (Ping timeout: 255 seconds)
[02:13:21] *** Ralith_ <Ralith_!~ralith@c-24-143-116-108.customer.broadstripe.net> has joined ##vulkan
[02:32:34] *** cheakoirccloud <cheakoirccloud!uid293319@gateway/web/irccloud.com/x-uepjkmqwjbxlkuue> has quit IRC (Quit: Connection closed for inactivity)
[02:47:25] *** cocholate_ <cocholate_!~cppfag@187.67.9.46> has joined ##vulkan
[02:47:47] *** halbeno <halbeno!~halbeno@S0106ac202ecc7933.ed.shawcable.net> has quit IRC (Remote host closed the connection)
[02:48:08] *** halbeno <halbeno!~halbeno@S0106ac202ecc7933.ed.shawcable.net> has joined ##vulkan
[02:50:32] *** cocholate <cocholate!~cppfag@187.67.9.46> has quit IRC (Ping timeout: 255 seconds)
[03:19:30] *** mandeep <mandeep!mandeep@gateway/vpn/privateinternetaccess/mandeepb> has joined ##vulkan
[03:23:13] *** mandeep <mandeep!mandeep@gateway/vpn/privateinternetaccess/mandeepb> has quit IRC (Client Quit)
[03:42:06] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[03:57:24] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[04:05:30] *** cramalho <cramalho!~cramalho@2804:54:16f5:8200:bd67:9a34:7fbd:ea22> has quit IRC (Quit: cramalho)
[04:06:00] *** cramalho <cramalho!~cramalho@2804:54:16f5:8200:bd67:9a34:7fbd:ea22> has joined ##vulkan
[04:25:58] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[04:36:26] *** cramalho <cramalho!~cramalho@2804:54:16f5:8200:bd67:9a34:7fbd:ea22> has quit IRC (Read error: Connection reset by peer)
[04:36:35] *** cramalho_ <cramalho_!~cramalho@2804:54:16f5:8200:bd67:9a34:7fbd:ea22> has joined ##vulkan
[04:36:41] *** cramalho_ is now known as cramalho
[05:21:41] *** ville <ville!~ville@188-67-14-101.bb.dnainternet.fi> has quit IRC (Quit:)
[05:28:13] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[05:29:41] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[05:42:58] *** ville <ville!~ville@37-33-15-143.bb.dnainternet.fi> has joined ##vulkan
[05:44:21] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[05:59:42] *** slime <slime!~slime73@blk-215-81-93.eastlink.ca> has quit IRC (Quit: This computer has gone to sleep)
[06:58:12] *** cramalho <cramalho!~cramalho@2804:54:16f5:8200:bd67:9a34:7fbd:ea22> has quit IRC (Quit: cramalho)
[07:38:09] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has joined ##vulkan
[07:39:43] *** nsf <nsf!~nsf@jiss.convex.ru> has joined ##vulkan
[08:08:23] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has quit IRC (Quit: ZZZzzz…)
[08:55:59] *** dadabidet <dadabidet!~dadabidet@extranet.adullact.org> has joined ##vulkan
[09:06:24] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[09:12:51] *** Guest4630 <Guest4630!4d3b9548@gateway/web/cgi-irc/kiwiirc.com/ip.77.59.149.72> has joined ##vulkan
[09:18:42] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[09:33:08] *** grouse <grouse!~grouse@83-233-9-2.cust.bredband2.com> has joined ##vulkan
[09:38:01] *** pa <pa!~pa@unaffiliated/pa> has quit IRC (Ping timeout: 260 seconds)
[09:38:54] *** ColaEuphoria <ColaEuphoria!~ColaEupho@unaffiliated/colaeuphoria> has quit IRC (Quit: Leaving)
[09:41:25] *** Guest4630 <Guest4630!4d3b9548@gateway/web/cgi-irc/kiwiirc.com/ip.77.59.149.72> has quit IRC (Ping timeout: 256 seconds)
[09:49:13] *** pa <pa!~pa@unaffiliated/pa> has joined ##vulkan
[10:08:41] *** Guest4630 <Guest4630!4d3b9548@gateway/web/cgi-irc/kiwiirc.com/ip.77.59.149.72> has joined ##vulkan
[10:11:09] *** ratchetfreak <ratchetfreak!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has joined ##vulkan
[10:21:29] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has quit IRC ()
[11:18:24] <neure> i hadnt thought about pipeline as queue specific but it makes perfect sense of course
[11:51:25] *** Deluxe <Deluxe!~Deluxe@2001:67c:1220:80e:e9:1d2:f14f:e47f> has joined ##vulkan
[11:52:56] <ratchetfreak> the architecture is definitely interesting
[11:53:42] <ratchetfreak> separate parts for gpgpu and fragment shading
[11:53:52] <ratchetfreak> and main memory to connect them
[11:54:41] *** goiko <goiko!~goiko@unaffiliated/goiko> has quit IRC (Ping timeout: 248 seconds)
[12:05:12] *** goiko <goiko!~goiko@unaffiliated/goiko> has joined ##vulkan
[12:22:02] *** alexge50 <alexge50!~alexge50@79.115.59.3> has joined ##vulkan
[12:23:27] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has joined ##vulkan
[13:01:01] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has quit IRC ()
[13:05:32] *** slime <slime!~slime73@24.215.81.93> has joined ##vulkan
[13:08:14] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[13:11:29] *** joakimds_ <joakimds_!uid154127@gateway/web/irccloud.com/x-kizcdolewpyxknwa> has quit IRC (Quit: Connection closed for inactivity)
[13:13:52] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[13:17:24] *** slime <slime!~slime73@24.215.81.93> has quit IRC (Quit: This computer has gone to sleep)
[13:25:43] *** nsf <nsf!~nsf@jiss.convex.ru> has quit IRC (Quit: WeeChat 2.1)
[13:34:51] *** joakimds_ <joakimds_!uid154127@gateway/web/irccloud.com/x-squzjqwvaffdbnmf> has joined ##vulkan
[13:57:08] *** alexge50 <alexge50!~alexge50@79.115.59.3> has quit IRC (Remote host closed the connection)
[14:05:04] *** ZeroWalker <ZeroWalker!~Zerowalke@78-67-154-24-no268.tbcn.telia.com> has joined ##vulkan
[14:06:19] *** snyp <snyp!~Snyp@103.56.236.4> has joined ##vulkan
[14:15:52] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[14:32:55] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has joined ##vulkan
[14:49:00] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Ping timeout: 245 seconds)
[15:06:06] *** MrFlibble <MrFlibble!~Flibble@2.122.47.217> has joined ##vulkan
[15:11:02] *** pa <pa!~pa@unaffiliated/pa> has quit IRC (Ping timeout: 245 seconds)
[15:23:30] *** pa <pa!~pa@unaffiliated/pa> has joined ##vulkan
[15:30:07] *** snyp <snyp!~Snyp@103.56.236.4> has quit IRC (Ping timeout: 256 seconds)
[15:46:27] *** snyp <snyp!~Snyp@103.56.236.109> has joined ##vulkan
[16:06:19] *** snyp <snyp!~Snyp@103.56.236.109> has quit IRC (Quit: Leaving)
[16:33:33] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has joined ##vulkan
[16:35:41] *** Deluxe <Deluxe!~Deluxe@2001:67c:1220:80e:e9:1d2:f14f:e47f> has quit IRC (Remote host closed the connection)
[16:38:08] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has quit IRC ()
[17:23:51] *** dadabidet <dadabidet!~dadabidet@extranet.adullact.org> has quit IRC (Quit: Leaving)
[17:43:47] *** ratchetfreak_ <ratchetfreak_!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has joined ##vulkan
[17:45:31] *** grouse <grouse!~grouse@83-233-9-2.cust.bredband2.com> has quit IRC (Quit: Leaving)
[17:47:34] *** ratchetfreak <ratchetfreak!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has quit IRC (Ping timeout: 260 seconds)
[17:50:53] *** ratchetfreak_ is now known as ratchetfreak
[18:10:27] *** nsf <nsf!~nsf@jiss.convex.ru> has joined ##vulkan
[18:13:27] *** xissburg <xissburg!~xissburg@unaffiliated/xissburg> has joined ##vulkan
[18:26:04] *** ratchetfreak <ratchetfreak!c351a8d8@gateway/web/freenode/ip.195.81.168.216> has quit IRC (Ping timeout: 260 seconds)
[18:30:13] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has joined ##vulkan
[18:53:28] *** Guest4630 <Guest4630!4d3b9548@gateway/web/cgi-irc/kiwiirc.com/ip.77.59.149.72> has quit IRC (Ping timeout: 268 seconds)
[18:59:17] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[19:10:56] *** psychicist__ <psychicist__!~psychicis@5356A22B.cm-6-7c.dynamic.ziggo.nl> has joined ##vulkan
[19:12:44] *** MrFlibble <MrFlibble!~Flibble@2.122.47.217> has quit IRC (Disconnected by services)
[19:12:45] *** MrFlibble2 <MrFlibble2!MrFlibble@2.122.47.217> has joined ##vulkan
[19:15:12] *** ratchetfreak <ratchetfreak!~ratchetfr@ptr-82s3g7lgupdkti53lhr.18120a2.ip6.access.telenet.be> has joined ##vulkan
[19:26:47] *** Guest4630 <Guest4630!4d3b9548@gateway/web/cgi-irc/kiwiirc.com/ip.77.59.149.72> has joined ##vulkan
[19:40:47] *** ciaala <ciaala!~crypt@2a02:120b:2c1f:4960:6ef0:49ff:feee:4777> has joined ##vulkan
[19:47:33] *** nsf <nsf!~nsf@jiss.convex.ru> has quit IRC (Quit: WeeChat 2.1)
[19:52:13] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has quit IRC (Read error: Connection reset by peer)
[19:53:38] *** Deluxe <Deluxe!~Deluxe@212.4.150.151> has joined ##vulkan
[20:24:23] *** Zero_Walker <Zero_Walker!~Zerowalke@78-67-154-24-no268.tbcn.telia.com> has joined ##vulkan
[20:26:09] *** ZeroWalker <ZeroWalker!~Zerowalke@78-67-154-24-no268.tbcn.telia.com> has quit IRC (Ping timeout: 264 seconds)
[20:26:35] *** begui <begui!~bj@108-200-216-48.lightspeed.dybhfl.sbcglobal.net> has quit IRC (Remote host closed the connection)
[20:39:48] *** fkaa <fkaa!~fkaa@tmtu.ee> has joined ##vulkan
[20:44:15] *** Zero_Walker <Zero_Walker!~Zerowalke@78-67-154-24-no268.tbcn.telia.com> has quit IRC (Read error: Connection reset by peer)
[20:49:56] *** ZeroWalker <ZeroWalker!~Zerowalke@78-67-154-24-no268.tbcn.telia.com> has joined ##vulkan
[20:54:15] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
[20:55:10] <fkaa> can't seem to find it in the spec; what happens when you call vkCmdBlitImage and the source & dest image dont have the same amount of components? (eg. R16 -> R8G8B8A8)
[21:04:16] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has joined ##vulkan
[21:11:31] *** Water` <Water`!~Water___@unaffiliated/water/x-6277176> has joined ##vulkan
[21:13:52] *** Quetzal2 <Quetzal2!~Quetzal2@unaffiliated/quetzal2> has joined ##vulkan
[21:28:20] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has joined ##vulkan
[21:48:40] *** cheakoirccloud <cheakoirccloud!uid293319@gateway/web/irccloud.com/x-gdjbjunrlbswjphx> has joined ##vulkan
[22:17:52] *** koz_ <koz_!~koz@121.99.240.58> has left ##vulkan ("WeeChat 2.1")
[22:21:45] *** bl4ckb0ne is now known as Bl4ckb0ne
[22:23:32] *** Bl4ckb0ne is now known as bl4ckb0ne
[22:34:35] *** slime <slime!~slime73@blk-215-81-93.eastlink.ca> has joined ##vulkan
[22:35:30] *** sla_ro|master <sla_ro|master!~sla.ro@78.96.209.89> has quit IRC ()
[22:46:57] *** psychicist__ <psychicist__!~psychicis@5356A22B.cm-6-7c.dynamic.ziggo.nl> has quit IRC (Quit: Lost terminal)
[22:48:49] *** nsf <nsf!~nsf@jiss.convex.ru> has joined ##vulkan
[23:08:06] *** ImQ009 <ImQ009!~ImQ009@unaffiliated/imq009> has quit IRC (Quit: Leaving)
[23:52:56] *** davr0s <davr0s!~textual@host86-153-157-230.range86-153.btcentralplus.com> has quit IRC (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)