I wanted to take my first steps with Vulkan.
I wanted to cmpile a shader that can be done with the “glslc” tool.
I just can’t find this tool anywhere.
This command does not list the tool.
apt-file search glslc
I also installed the following tools from here.
https://docs.vulkan.org/tutorial/latest/02_Development_environment.html
sudo apt install vulkan-validationlayers-dev spirv-tools
The only thing I can find are sources, but cmake fails there.
I can’t imagine that this package glslc doesn’t exist for Ubuntu.
I found it here, but this won’t install either.
Can someone help me ?
I have since found out that it also works with “glslangValidator” instead of “glslc”.
I got this tool through package management.
Is there a difference which of the two tools I use?
“glslangValidator” or “glslc”
I can’t imagine that this package glslc doesn’t exist for Ubuntu.
I found it here, but this won’t install either.
https://packages.lunarg.com/#
It’s so easy if you know how.
wget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-jammy.list https://packages.lunarg.com/vulkan/lunarg-vulkan-jammy.list
sudo apt update
sudo apt install vulkan-sdk
glslc
wraps around core functionality in glslang and SPIRV-Tools . glslc
and its library aims to to provide:
So glslc is superior?