🚧 work in progress 🚧
A rusty shading language experiment.
The project, at least for now, is just an experiment
- SPIR-V output (at first via glsl and shaderc)
- VScode integration via Language Server Protocol, similar to rust-analyzer
- Compiler as a library to integrate with asset systems
- CLI to:
- build all shaders in a package
- A workspace API to:
- Query shaders and data layouts
- Create code fragments (either source code, or emit some IR, depends on what has better UX)
- Some sort of integration with regular rust code, to add some type safety between CPU and GPU data types
- WGSL output
- output compatibility with naga if the sky-sl project gets more serious
- Optimizing compiler (we'll rely on SPIR-V tools)
Currently only runs in VSCode extension development environment and lacks any build process to generate an extension.
- Outline
- Semantic highlighting (must be enabled in your theme)
sky-sl and its components is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.