News for hackers. Stuff that matters.
Re:Vulkan 1.1 Released by megaman22 on Thursday March 08, 2018 @05:37AM (#16543551)
The multiplicity of ways to do everything in OpenGL was always a stumbling block for me in the past; it's been a big driver towards leaning in the direction of DirectX, or Monogame or Unity for cross-platform, in the past.

There still seems to be a lot of fragmentation from the handful of samples I've looked at so far; is there something like a canonical example of "the right way" to do things?

Re:Vulkan 1.1 Released by pjmlp on Thursday March 08, 2018 @07:14AM (#16543855)
Yeah, first thing you have to do is dynamically collect extensions on program startup.

https://vulkan-tutorial.com/Drawing_a_triangle/Setup/Instanc...

Re:Vulkan 1.1 Released by exDM69 on Thursday March 08, 2018 @08:36AM (#16544209)
That's a bit dishonest way to put it. The situation with extensions has vastly improved w.r.t. OpenGL.

In the link you provided, it only needs to enable the appropriate window system extension. It also prints out some info about other extensions but that is not required.

It's a huge improvement that extensions need to be explicitly requested at init time.

It's massively better than OpenGL, and API extensions can't be completely avoided in a multi-vendor cross-platform API without limiting to lowest common denominator.

Re:Vulkan 1.1 Released by pjmlp on Thursday March 08, 2018 @09:45AM (#16544593)
It doesn't look much different from OpenGL multiple execution paths for each GPU, and possible workarounds when they aren't available.

Specially given the amount of extensions that have been added since Vulkan was released.