Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vengarioth/sky-sl
A rusty shading language experiment.
https://github.com/vengarioth/sky-sl
game-development rust shaders spirv webgpu
Last synced: 16 days ago
JSON representation
A rusty shading language experiment.
- Host: GitHub
- URL: https://github.com/vengarioth/sky-sl
- Owner: Vengarioth
- License: apache-2.0
- Created: 2021-06-06T00:16:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-28T12:46:04.000Z (over 3 years ago)
- Last Synced: 2024-11-14T06:31:33.782Z (3 months ago)
- Topics: game-development, rust, shaders, spirv, webgpu
- Language: Rust
- Homepage:
- Size: 11 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# sky-sl
🚧 work in progress 🚧
A rusty shading language experiment.
## scope
The project, at least for now, is just an experiment
### goals
* 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### maybe-goals
* WGSL output
* output compatibility with [naga](https://github.com/gfx-rs/naga) if the sky-sl project gets more serious### non-goals
* Optimizing compiler (we'll rely on SPIR-V tools)
## language server
Currently only runs in VSCode extension development environment and lacks any build process to generate an extension.
### working features
* Outline
* Semantic highlighting ([must be enabled in your theme](https://code.visualstudio.com/api/language-extensions/semantic-highlight-guide#enablement-of-semantic-highlighting))![a video showing vscode applying syntax highlighting to sky-sl code](./media/FeZaiNn.gif)
## license
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](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT) for details.