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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...