Jump to content

Vulkan - new graphics API


Recommended Posts

  • 6 months later...
33 minutes ago, Dunedan said:

With OpenGL the GLSL shaders get generated on-the-fly and cached on disk, if they aren't present, aren't they?

We don't do so. Shaders are compiled each time they're loaded (or used in a pipeline state). Some (but not all) drivers might cache results on a disk.

35 minutes ago, Dunedan said:

Would that be possible for Vulkan as well?

I have plans for that. We need a library which can be used on all platforms (shaderc is a possible candidate). Though we can't rely on it and we still need to build SPIR-V for releases. Because there might be platforms without such libraries in regular repos.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...