Registry / other / glsl-to-spirv

glsl-to-spirv

JSON →
library0.1.7rscratesunverified

Deprecated. Use shaderc-rs instead.

# Cargo.toml [dependencies] glsl-to-spirv = "0.1.7"
INSTALL
IMPORT
SIG · GLSL-TO-SPIRV
G
glsl-to-spirv
otherrustv0.1.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

compile
use glsl_to_spirv::compile;

Compiles GLSL source to SPIR-V binary.

use glsl_to_spirv::compile; let source = "#version 450\nvoid main() {}"; let spirv = compile(source, glsl_to_spirv::ShaderType::Vertex).unwrap();
Debug
Known issues
breakingThis crate is deprecated and no longer maintained.
fix
Use shaderc-rs instead.
affects: >=0.1.0
Upgrade
Version history
0.1.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Meta
1
Resources
glsl-to-spirv — cargo add glsl-to-spirv · libregistry