SPIRV-Tools
By KhronosGroup
learnopengl-examples
Examples from learnopengl.com, implemented using Sokol libraries. (by GeertArien)
SPIRV-Tools | learnopengl-examples | |
---|---|---|
6 | 1 | |
1,005 | 113 | |
1.5% | - | |
9.3 | 10.0 | |
4 days ago | about 3 years ago | |
C++ | C | |
Apache License 2.0 | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SPIRV-Tools
Posts with mentions or reviews of SPIRV-Tools.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-11.
-
New Vulkan Documentation Website
SPIR-V is an intermediate bytecode format. That bytecode is the data that you use in the Vulkan API, and under the hood your graphics drivers compile that bytecode into the device-specific native shader binary that runs on the graphics hardware.
Vulkan doesn't come with any tools to generate that bytecode though. Foreign shader language (like HLSL, GLSL, etc) to SPIR-V compilers exist, and various graphics toolchains can generate SPIR-V. https://github.com/KhronosGroup/SPIRV-Tools does have tools to validate and optimizing SPIR-V bytecode.
-
Why aren't Callable Shaders supported in raster pipelines?
In that case, there is a linker in SPIR-V tools, though it doesn't use the syntax sugar for inlined functions like Metal3 does https://github.com/KhronosGroup/SPIRV-Tools, but again, that's kind of a higher level functionality
- How standardized are shader compiler optimisations?
- 144hz > 120hz solved my performance issue
-
Help trying to get Vulkan android samples running?
which is looking for https://github.com/KhronosGroup/SPIRV-Tools/releases/download/master-tot/SPIRV-Tools-master-osx-RelWithDebInfo.zip which yields a 404.
-
Specialization constant has invalid size in shader module. Expected size is different from shader definition.
I would use SPIR-V Tools to disassemble the shader, and confirm that it's an issue in the on-disk shader binary. If you find that constant ID 9 on disk has size 4, then it's your shader loading that's going wrong; if it has size -1, then you need to look at why glslc has compiled your shader source with the wrong size.
learnopengl-examples
Posts with mentions or reviews of learnopengl-examples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-10-11.
-
New Vulkan Documentation Website
I wonder if using your library (https://github.com/floooh/sokol) instead of OpenGL will alleviate some of these issues for newcomers! There's already a sokol port of the learnopengl.com code (https://github.com/GeertArien/learnopengl-examples), so it shouldn't be too hard to match between the tutorial articles and these.
What are some alternatives?
When comparing SPIRV-Tools and learnopengl-examples you can also consider the following projects:
Vulkan-Docs - The Vulkan API Specification and related tools
game-engine-3d - Planimeter Game Engine 3D
wgpu - A cross-platform, safe, pure-Rust graphics API.
webgpu-headers
sokol - minimal cross-platform standalone C headers
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
raylib - A simple and easy-to-use library to enjoy videogames programming
SPIRV-Tools vs Vulkan-Docs
learnopengl-examples vs game-engine-3d
SPIRV-Tools vs wgpu
learnopengl-examples vs wgpu
SPIRV-Tools vs game-engine-3d
learnopengl-examples vs webgpu-headers
SPIRV-Tools vs sokol
learnopengl-examples vs GLFW
SPIRV-Tools vs GLFW
learnopengl-examples vs Vulkan-Docs
SPIRV-Tools vs raylib
learnopengl-examples vs raylib