14 ms·
Vulkan is Here
- pavlov 11y agoAs usual, not available for Mac. If this follows the usual trajectory, we'll have a sort-of-working implementation of Vulkan 1.0 in OS X 10.13 (although it will kernel panic if you look at it the wrong way). But maybe Apple's stance on Vulkan is different now due to their own Metal API? Is Apple involved in Vulkan at all?
- ekianjo 11y agoMac decided to go for Metal. That's their choice. I believe they mentioned that they have not plans to support Vulkan at this stage. They are not part of the consortium, while even Microsoft is (despite them having DirectX as direct competitor).
- joshstrange 11y agoUh where are you getting that? Vulcan lists them as a promoter while Microsoft is just a member: https://www.khronos.org/members/ https://www.khronos.org/members/ (Image at bottom of page) EDIT: Removed hotlink
- bryanlarsen 11y agoThat link gives a "please do not hotlink our files" error.
- joshstrange 11y agoImage at bottom of page https://www.khronos.org/members/ https://www.khronos.org/members/
- bryanlarsen 11y agoThat's a list of members of Khronos. Apple is there because of OpenGL. It doesn't say anything about Apple being involved in the Vulkan effort.
- deleted 11y ago[deleted]
- masklinn 11y ago> Mac decided to go for Metal. That's their choice. It's a choice which predates Vulkan being even thought of though.
- ekianjo 11y agoNot sure about that, there were mentions of OpenGLnext (the former name of Vulkan) for a while already.
- masklinn 11y agoMetal was first unveiled in early June 2014[0], and thus probably in the works some time before that. AFAIK the "Next Generation OpenGL Initiative" was officially announced at SIGGRAPH 2014, in August 2014[1], and the private kickoff meeting was the month before. edit: heh, some people really can't handle the truth. [0] http://www.anandtech.com/show/8116/some-thoughts-on-apples-metal-api http://www.anandtech.com/show/8116/some-thoughts-on-apples-m... [1] https://www.phoronix.com/scan.php?page=news_item&px=MTc2ODQ https://www.phoronix.com/scan.php?page=news_item&px=MTc2ODQ
- deleted 11y ago[deleted]
- SG- 11y agoApple is a major Vulkan supporter and is on the "Board of Promoters". They went for Metal because they needed and wanted better performance long before Vulkan was going to be released. My guess is we'll see Vulkan in the next major OSX/iOS release.
- mtgx 11y agoLong before? Didn't they just adopt Metal on Mac OS mid last year? Surely they knew Vulkan is almost done. I think they just wanted to see if they can push major game developers to adopt Metal for Mac games early on. If they could do that - awesome for them, and they would never have to adopt Vulkan. If they can't, they'll have to adopt Vulkan. Here's hoping the latter will happen.
- masklinn 11y ago> Long before? Didn't they just adopt Metal on Mac OS mid last year? Surely they knew Vulkan is almost done. Metal was made available in iOS8, in September 2014, almost 18 months ago. That's pretty long. In fact the first Metal public demo predates the Vulkan private kickoff meeting. > I think they just wanted to see if they can push major game developers to adopt Metal for Mac games early on. Mid-2015 they made their iOS graphics API — which had been available for nearly a year at this point — available on OSX. Fact remains that they realised a need for and started working on a lower-overhead API much earlier than Vulkan was conceived let alone released, likely circa 2012~2013 if they were almost done by mid-2014.
- creshal 11y ago> Didn't they just adopt Metal on Mac OS mid last year? Surely they knew Vulkan is almost done. Vulkan was announced in December 2014, with no significant commitment. iOS 8 including Metal was announced mid-2014, and would have been in development for a considerable time before. By the time it was announced for OSX, Vulkan was still anaemic and not showing significant progress. So it does make sense to keep using Metal for them. > I think they just wanted to see if they can push major game developers to adopt Metal for Mac games early on. If they could do that - awesome for them, and they would never have to adopt Vulkan. If that was the plan, it's probably going to fail: The developers of Unity e.g. found Metal, DX12 and Vulkan so similar that they estimate to be able to support all three with minimal development overhead.
- abrodersen 11y agoPerhaps you missed this: https://moltengl.com/metalvk/ https://moltengl.com/metalvk/
- skrowl 11y agoIf you bought a Mac and you want to play games, just reboot to Windows using Bootcamp
- outworlder 11y agoConsidering the sorry state of OpenGL on the Mac and the fact that they are throwing resources on Metal, don't expect more involvement other than the board seat.
- unsigner 11y agoNOT a successor. It's a very different beast. It's frequently described as a "low-level" API, but "explicit API" is more correct. It gives you control (and responsibility) for things that happen behind your back in OpenGL, e.g. semantics of sharing of resources between the CPU and the GPU, explicit separate access to many GPUs, explicit separation of command buffer building and submission etc. It will live side-by-side with OpenGL for the foreseeable future. It's just targeting the same general area (graphics using GPUs) and is standardized by the same folks (Khronos).
- norea-armozel 11y agoI'm glad you clarify this because I thought it was meant not to replace OpenGL but to make it easier for certain developers to optimize and override GL behavior as needed.
- veli_joza 11y agoVulkan is indeed intended as a replacement, but in following decade OpenGL will still have to be supported so that legacy applications can still run. New game engines and other graphically intensive applications will probably target both OpenGL and Vulkan, at least until Vulkan is supported on most of hardware available.
- shmerl 11y ago> I thought it was meant not to replace OpenGL but to make it easier for certain developers to optimize and override GL behavior as needed. It is intended to replace OpenGL eventually. It matches modern hardware and unlike OpenGL allows using parallelism without shared state.
- ekianjo 11y agoWell it may not be a successor, but since Khronos' resources are limited you can bet there will be more updates coming to Vulkan than the OpenGL standard.
- mtgx 11y agoMaybe not a direct successor (as in OpenGL will now be deprecated), but still a defacto successor if all game engines adopt it. The bulk of the low-level work will be done by game engines, and developers won't have to worry too much about it. So developers will get the best of both words: easy to use and higher performance.
- ekianjo 11y agoAnd here's a chart on whether or not you should switch to Vulkan: https://pbs.twimg.com/media/CbUg4_5WEAANwhc.jpg:large https://pbs.twimg.com/media/CbUg4_5WEAANwhc.jpg:large
- 1ace 11y agoMuch better resolution: https://pbs.twimg.com/media/CbUg4_5WEAANwhc.jpg:orig https://pbs.twimg.com/media/CbUg4_5WEAANwhc.jpg:orig And credit: https://twitter.com/renderpipeline/status/699501481632886786 https://twitter.com/renderpipeline/status/699501481632886786
- strictfp 11y agoSomeone should make charts like these for new js frameworks.
- Udo 11y agoThis chart sums it up pretty well: https://twitter.com/renderpipeline/status/699346348651507713 https://twitter.com/renderpipeline/status/699346348651507713 There is no reason why any given app developer would want to talk to Vulkan directly. It's basically only suitable for a subset of engine developers and low level API programmers. I also heard some people who were under NDA might have some disappointing things to report about the Vulkan decision process now that it's out. But the question is whether it matters at all whether it's a good API or not, given my impression that it's apparently not intended for interfacing to humans but to higher layer APIs.
- masklinn 11y agoA more recent version of the chart from the same source: https://pbs.twimg.com/media/CbUg4_5WEAANwhc.jpg:orig https://pbs.twimg.com/media/CbUg4_5WEAANwhc.jpg:orig It's quite a bit more positive about vulcan.
- zanny 11y agoThis is the primary UX for Vulkan. The problem is not the API PDF for OpenGL you download from Khronos - its all the drivers that implement it. Not only do you have to support he lowest common denominator GL version and then extension-check every higher level feature you want to use with two code paths every time, you also need to work around all the driver bugs you will find across the board with every combination of platform + GPU. If OpenGL as of 4.5 were implemented perfectly on all hardware on all systems, we would never need Vulkan because everyone could just AZDO for optimization. Since we don't live in that fantasy world where pigs fly and Nvidia releases freedom respecting drivers, Vulkan takes responsibility away from hardware vendors who demonstrably cannot handle the work and puts the burden on the developer, who... probably also cannot handle the work, but thats a per-application problem rather than a fundamental API problem.
- Hello71 11y agoWhy couldn't someone write a "Vulkan backend for OpenGL" that combined proper standards conformance with actual hardware acceleration?
- deleted 11y ago[deleted]
- ekianjo 11y agoThis is not going to work on Raspberry Pi 2 at this stage. I could not see any drivers for it.
- deleted 11y ago[deleted]
- SXX 11y agoAccording to Eric Anholt (VC4 developer) RPi: > This is not even slightly GL 3.1 hardware. And Vulkan require 4.3 feature set.
- abrodersen 11y agoMac Support is coming: https://moltengl.com/metalvk/ https://moltengl.com/metalvk/
- coetry 11y agoThis is finally my chance to delve into graphics hacking. I'm interested in bindings to Common Lisp with this >:)
- agentultra 11y agoNot to dissuade you from graphics hacking in CL (it's a lot of fun!) but this isn't what Vulkan is for. It's a graphics API that gives you more explicit control over synchronization, buffering, and resource sharing. There's still many reasons to prefer OpenGL (for which there are good bindings in CL already and could use more contributors!). If you're just the curious sort and want to know more then by all means... it will be a tough battle if this is your first delve into graphics programming.
- coetry 11y agoahh, yeah i hear you. I just never got into it and I understood the Vulkan announcement to be the latest edition to what OpenGL already brought. Cool, I think I will definitely explore CL bindings with OpenGL. Thanks!
- f_ 11y agoThe CEPL [0] project could be of interest to you! Pretty great approach to OpenGL from CL. [0] https://github.com/cbaggers/cepl https://github.com/cbaggers/cepl
- teps 11y agoCould Vulkan be the opportunity to build a small and simple API for people to learn graphic programming? I did learn OpenGl 10 years ago but it was already a big mess and each time I were searching for some information I could only discover mountains of hacks. I'm quit sure it's worse now.
- agentultra 11y agoOpenGL is much better these days and if it's your first foray into graphics programming learning WebGL is not a bad start IMO. You might need to use a browser that can support some of the OpenGL ES features (WebGL extensions) like VBO's and such but you can get really far that way. Vulkan is not the right choice if you're just getting started unless you're already motivated and intensely curious (ie: already have some decent exposure to OpenGL, multi-threading, and are curious to know more).
- Benjamin_Dobell 11y ago> Google gives you everything you need to incorporate Vulkan into your Android games and other apps where graphics performance is key Err, do they? Where? I was under the impression this isn't implemented yet and is expected to be included in Android 7.
- nercury 11y agoYeah, I am also wondering. All I see is the same ol' link to half-outdated NDK documentation.
- corysama 11y agoNvidia has an SDK today for Sheild devices https://developer.nvidia.com/vulkan-android https://developer.nvidia.com/vulkan-android Imagination Tech has an SDK as well. Apparently, a Nexus Player is a good device to work on with it. https://www.reddit.com/r/gamedev/comments/463jo2/vulkan_api_example_code_early_drivers_available/ https://www.reddit.com/r/gamedev/comments/463jo2/vulkan_api_...
- diakritikal 11y agoI think what's most interesting is strong multi threading support in conjunction with an intermediate representation. Looking forward to seeing SPIR-V compilers in other languages...
- Bytes 11y agoIt will be interesting to see the adoption rate for games and other applications now that it has been released.
- speps 11y agoExamples and demos : https://github.com/SaschaWillems/Vulkan https://github.com/SaschaWillems/Vulkan
- tjelen 11y agoThanks for the link. I think that just looking at the "simple" triangle example tells quite a lot about how low-level the API is (at least for me). The source C++ file is >27kB and ~760 LOC..
- kbwt 11y agoQuick Reference: https://www.khronos.org/registry/vulkan/specs/1.0/refguide/Vulkan-1.0-web.pdf https://www.khronos.org/registry/vulkan/specs/1.0/refguide/V... The Khronos site seems to be overloaded right now.
- auvi 11y agoGreat news! I am waiting for the book titled "Vulkan Programming Guide: The Official Guide to Learning Vulkan (OpenGL) 1st Edition" to come out. Looks like it will be out in August 2016.
- znpy 11y agoDumb question: what will change for end-users ?
- mkozlows 11y agoShould get better Linux drivers, since the GPU driver will be a much thinner layer.
- Narann 11y agoBetter multithreading => better performance => more CPU for other tasks (AI for example).
- nothis 11y agoAFAIK it's mostly a performance booster in some niche cases where low level GPU access is the bottleneck. I've seen VR mentioned, for example. The end user will see better framerates, I suppose.
- Betelgeuse90 11y agoAny CPU-bound application should see benefits as far as I understand it. Spending less time in the driver generally means spending more time doing useful things.
- Laremere 11y agoI think that's quite a reasonable question. 1. Less CPU usage than an equivalent game in OpenGl. This is especially true for games which want to draw lots of different individual things to the screen, so you may be seeing more of those. 2. Smaller drivers, which means more consistently performant and bug free. There's far less of a chance of getting weird things from having an unusual operating system or graphics card setup. 3. More cross platform. There are many different pieces which change on different platforms (consoles vs desktops vs mobile), but depending on what platforms choose to support Vulkan, it's one less thing to worry about when porting over. 4. Maybe better games. There's a bunch of things which help with development, so as long as a sufficient majority of graphics cards get vulkan drivers, it may help reduce some coding cost. Games which use common engines (ie, Unity) will likely get these features for free. Others will have to work harder for it.
- wenderen 11y agoApparently the GeForce 800 series doesn't support Vulkan :( https://developer.nvidia.com/vulkan-driver https://developer.nvidia.com/vulkan-driver Why is this so, any idea?
- jhasse 11y agoThey want you to buy new hardware ;)
- SG- 11y agoThey support Geforce 600 and up. I don't even think Nvidia released a Geforce 800 except on mobile which is just a rebranded Geforce 700 so it's likely actually supported.
- wenderen 11y agoon my laptop: $ lspci | grep -i nvidia 03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
- djur 11y agoNote the 'M' at the end of the model number. The laptop GeForce models are different (and less powerful) than the desktop models. According to the website, the 840M supports "entry-level gaming", which isn't really the primary use case for Vulkan.
- gulpahum 11y agoHere's a full list of conformant products: https://www.khronos.org/conformance/adopters/conformant-products#vulkan https://www.khronos.org/conformance/adopters/conformant-prod... I don't know why some dates are in the future..
- cousin_it 11y agoNewbie question: let's say I want to display a simple 3D object (say, a box) which controlled by the mouse, and the latency between mouse and screen has to be as small as possible. What are my best options? Is it packaged somewhere?
- gulpahum 11y agoThe reason I have been waiting for Vulkan is to get rid of OpenGL driver bugs. I hope that being closer to metal means less bugs.
- deleted 11y ago[deleted]
- bitmapbrother 11y agoA video showing the dramatic performance difference between Vulkan and OpenGL on an Android TV device: https://www.youtube.com/watch?v=P_I8an8jXuM https://www.youtube.com/watch?v=P_I8an8jXuM
- lohengramm 11y agoCan anyone explain (or at least provide a glimpse to) why the difference is so huge?
- flohofwoe 11y agoIt's described in the link: http://blog.imgtec.com/powervr/gnomes-per-second-in-vulkan-and-opengl-es http://blog.imgtec.com/powervr/gnomes-per-second-in-vulkan-a..., the code doesn't use any batching but each gnome is a unique draw call, which is a worst-case scenario for OpenGLES2.
- hatsunearu 11y agoThe website says it is also a compute API. I haven't heard this before; I didn't know Vulkan came with a GPGPU stack. Does anyone have any experience looking at the compute aspects of Vulkan and how it compares to OpenCL? I wanted to take a squiz at making GPU compute code for "fun" and I'm wondering if Vulkan compute is worth looking at.
- radarsat1 11y agoCool. Makes sense, doesn't it, it would be a bit silly to expose a new GPU API in this day and age and not include a compute interface.
- dietrichepp 11y agoThis is not really surprising, OpenGL got compute shaders in 4.3.
- zanny 11y agoVulkan has explicit compute command queues. It is worth noting that OpenCL 2.1 compiles to the same SPIR-V bytecode that Vulkan drivers consume, you just generate it with a C API rather than GLSL, but either turn into the same thing.
- robbies 11y agoThe API itself supports some very cool compute functionality, such as asynchronously scheduled compute jobs. However, this functionality only exists on AMD hardware (to my knowledge). NVIDIA doesn't support it in HW (yet), and I don't _think_ it's in Intel HW natively. I don't think I've seen it in any other compute API either. I've seen asynchronous DMAs + command execution (copy engine) exposed in some APIs, but not asynchronous compute shaders.
- deleted 11y ago[deleted]
- Aardwolf 11y agoToo bad the sample code linked to from multiple locations is empty... only a README.md: https://github.com/KhronosGroup/Vulkan-Samples https://github.com/KhronosGroup/Vulkan-Samples
- nilstycho 11y agoIt might be this: https://github.com/SaschaWillems/Vulkan https://github.com/SaschaWillems/Vulkan
- shmerl 11y agoCongratualations! It's a major step forward. Note this however: > “Vulkan takes cross-platform performance and control to the next level,” said Bill Hollings of The Brenwill Workshop. “We are excited to be working through Khronos, the forum for open industry standards, to bring Vulkan to iOS and OS X.[1]” Of course Apple had to remain the jerks they are and not support Vulkan natively, forcing developers to write translation layers[2]... [1] https://www.khronos.org/news/press/khronos-releases-vulkan-1-0-specification https://www.khronos.org/news/press/khronos-releases-vulkan-1... [2] https://moltengl.com/metalvk/ https://moltengl.com/metalvk/
- Harimwakairi 11y ago"They have every logo on here except Apple," was the first thing I thought upon seeing the page.
- ksec 11y agoYou can still use OpenGL on OSX / iOS. If the Flowchart is true, then it wouldn't matter for 80% of people, for the rest, there is Metal.
- shmerl 11y ago> for the rest, there is Metal. The question is why Apple can't support Vulkan, or rather why wouldn't they. The answer is quite obvious - they like lock-in. > If the Flowchart is true Flowchart is not true, because using OpenGL is not a good proposition going forward. Some will develop more tools and higher level frameworks to make using Vulkan easier. But jerks like Apple, MS and others will put roadblocks for developers preventing them from using the new API on their platforms.
- bryanlarsen 11y ago"because using OpenGL is not a good proposition going forward." Why? Khronos has publicly stated that development of OpenGL will continue, and that OpenGL and Vulkan will continue to co-exist.
- nercury 11y agoIt is rare to see a cross platform release with so much collaboration behind the scenes. Extremely exciting!
- robohamburger 11y agoI haven't read the docs yet but I wonder if this means there could be an open source d3d or opengl implementation that uses vulkan as its backend. Also: it is a shame the API docs appear to be behind a login page. Hopefully that will change! The nice thing about opengl is it (at least when I used it) the docs were easy to get at.
- tgb 11y agoDoes this do anything to address the difficulties of sharing the gpu resources among processes, particularly concerning untrusted code like a website? Even opengl es can crash my video driver easily under a heavy load and it's more careful than opengl.
- SXX 11y ago> Even opengl es can crash my video driver easily under a heavy load and it's more careful than opengl. If Vulkan as low-level as expected then it's will easily let app lockup your GPU completely. Though as drivers are they shouldn't cause troubles anymore.
- SXX 11y ago* Ooops, as drivers are tiny.
- vegabook 11y agoThank you AMD. Vulkan is essentially a development of Mantle, AMD's next-gen graphics API, and without that forward-thinking leadership, we'd still be messing with (closed) D3D on Windows, (closed) proprietary per-game drivers from greedy Nvidia, and the outdated OpenGL. Kudos all the more deserved for the fact that AMD doesn't have the financial firepower of its competitors.
- dman 11y agoDont notice any AMD products at https://www.khronos.org/conformance/adopters/conformant-products#vulkan https://www.khronos.org/conformance/adopters/conformant-prod... even though AMD already has drivers out. Whats up with that?
- mastax 11y agoThe AMD drivers haven't been sent for conformance testing yet, probably due to the fact that they're very buggy. (No personal experience but somewhere in this thread someone said they're unusable).
- bd 11y agoFor reality check read "Talos Principle" FAQ on their Vulkan port (probably the most complex non-toy Vulkan application you can try today): http://steamcommunity.com/app/257510/discussions/0/412447331651720139/ http://steamcommunity.com/app/257510/discussions/0/412447331... TLDR: optimism for the future but right now performance is actually noticeably worse than their DirectX 11 rendering backend. -------- A: Ok, first, in GPU-bound scenarios (ultra settings, resolution higher than full HD), you'll see lower performance, 20 to 30% lower. This is work in progress, and we (both Croteam and IHVs) are analyzing and optimizing the performance. We'll get to the bottom of this! Q: And CPU-bound scenarios? A: Same or a bit faster. But for now, those scenarios really have to be super-CPU-bound. Like, rendering whole levels, without any help from visibility system, frustum, distance or occlusion culling.
- tux1968 11y agoYou're right about the current status, but there is no reason to believe that there is any architectural issue in the way of performance parity with DirectX. This is a necessary first step, and there is a lot of reason for optimism :-)
- ramy_d 11y agoIndeed, from their Q&A http://steamcommunity.com/app/257510/discussions/0/412447331651720139/ http://steamcommunity.com/app/257510/discussions/0/412447331... Let me put it this way: When The Talos Principle came out, it had a very similar frame rate in DirectX 9 vs DX 11. But then we optimized the game, and the drivers were optimized in the meantime, and now D3D11 is 20-30% faster than D3D9! I have a firm belief that this will also happen to Vulkan vs D3D11, over time However, for now you can actually expect lower frame-rate compared to D3D11. C'mon, it's brand new API, give it some time. :)
- 0xcde4c3db 11y agoThere's a similar performance hit going from DX11 to OpenGL for Talos Principle. According to one developer, it has something to do with OpenGL drivers having a "weak shader optimizer" [1]. [1] https://steamcommunity.com/app/257510/discussions/0/612823460267445825/#c612823460271377059 https://steamcommunity.com/app/257510/discussions/0/61282346...
- bijbij 11y agoI have dream to see such a master piece enabled on web browsers through javascript.
- deleted 11y ago[deleted]
- bd 11y agoQuick Vulkan starter pack (if you just want to see if it runs on your system, without compiling anything). Windows-centric, but many things also available for Linux and Android. ------- Drivers ------- Nvidia GPU driver: https://developer.nvidia.com/vulkan-driver https://developer.nvidia.com/vulkan-driver (worth trying even if your GPU is not listed as supported, e.g. 900 series mobile Maxwell GPUs like GTX 970M or GTX 980M work ok) AMD GPU driver: http://support.amd.com/en-us/kb-articles/Pages/Radeon-Vulkan-Beta.aspx http://support.amd.com/en-us/kb-articles/Pages/Radeon-Vulkan... ------- Demos ------- Nvidia Vulkan Choppers demo: https://nvidia.app.box.com/s/rj9nzxkpz21qu34h8zew301kray9urbf https://nvidia.app.box.com/s/rj9nzxkpz21qu34h8zew301kray9urb... Nvidia Vulkan Fish demo (threaded rendering): http://developer.download.nvidia.com/mobile/shield/assets/ThreadedRenderingVk/ThreadedRenderingVk_20160215-02.zip http://developer.download.nvidia.com/mobile/shield/assets/Th... Vulkan examples binaries by Sascha Willems: http://vulkan.gpuinfo.org/examples.php http://vulkan.gpuinfo.org/examples.php - requires assets from source distribution (create "bin" subfolder and place binaries there): https://github.com/SaschaWillems/Vulkan https://github.com/SaschaWillems/Vulkan - also may need to install Visual Studio 2015 redistributables: https://www.microsoft.com/en-us/download/details.aspx?id=48145 https://www.microsoft.com/en-us/download/details.aspx?id=481... ------- Games ------- Talos Principle: http://store.steampowered.com/app/257510/ http://store.steampowered.com/app/257510/ (there is a free demo available) See how to enable Vulkan support here: http://steamcommunity.com/app/257510/discussions/0/412447331651559970/ http://steamcommunity.com/app/257510/discussions/0/412447331... ------- Tools ------- Vulkan HW capabilities database: http://vulkan.gpuinfo.org/ http://vulkan.gpuinfo.org/ Vulkan Hardware Capability Viewer: http://vulkan.gpuinfo.org/download.php http://vulkan.gpuinfo.org/download.php
- gnarbarian 11y agoNvidia also just put out a C++ API as well: https://github.com/nvpro-pipeline/vkcpp https://github.com/nvpro-pipeline/vkcpp
- zanny 11y agoWhy did they call it vk_cpp.h and not vulkan.hpp? Why???
- frik 11y agoI am seeing forward to a possible "WebVulkan" analog to WebGL.
- f_ 11y agoYes, it would be great, but it is most likely not happening anytime soon. As previously discussed on the WebGL mailinglist, Vulkan is strictly (and rightfully, wrt performance) working against all the security considerations that went into WebGL by design. A "WebVulkan" would thus not be much of a benefit, or even usable, if it's severly crippeled in it's features.
- withjive 11y agoEven though Vulkan for would be of little gain for the web due to all the security considerations required, a WebGL backend should still be able to benefit from being built on Vulkan instead. Due to the refinement of the pipeline and memory access, etc. provided by Vulkan, there's a lot of room for optimization. ___ Though on the other hand, even with additional overhead on a Vulkan web API, the improved state management and access to command buffers may still allow for smarter rendering with negligible overhead via JS Fun times
- f_ 11y agoI completely agree and one could theoretically do away with things like ANGLE! Though, I also suspect that the implementor's overhead is rather large in contrast to the current way WebGL is implemented in Chrome and FF, which is currently a relatively 'thin' layer on top of OpenGL. On the other hand the nature of implementation in Chrome, i.e. does seem to lend itself somewhat to a command buffer approach as in Vulkan.
- meerita 11y agoWhere is Apple on that page?
- maufl 11y agoCould OpenGL be implemented as a library on top of Vulkan? So that future drivers will only implement the Vulkan API and if you want OpenGL, you just use an OpenGL library?
- robohamburger 11y agoI was thinking the same thing. Seems like that could have a lot of neat applications as afar as porting and keeping existing software working. Hopefully with lower level APIs like vulkan it means higher level APIs could be better designed than opengl perhaps?
- PythonForGirls 11y agoMeh. I'll stick with CUDA
- Eduard 11y agoSo many teasered demos, but no video to look at...
- bane 11y agoVulkan backend for RetroArch https://github.com/libretro/RetroArch/pull/2729 https://github.com/libretro/RetroArch/pull/2729
- bovermyer 11y agoVulkan remains, and will only ever be, the Primarch of the Salamanders for me. Sorry, I guess my gamer culture overrides my tech nerd culture.
- advanderveer 11y agoWould it be worthwhile to write a Golang API on top of such a low level implementation or would that just negate the reason it exists in the first place?