@mobecher/rollup-plugin-glslang
v0.2.0
Published
reads a directory of shaders, compiles them and outputs to another directory
Downloads
11
Maintainers
Readme
rollup-plugin-glslang
Rollup plugin that uses @webgpu/glslang to compile shaders from glsl to SPIR-V
This project was forked from @javascribble/rollup-plugin-glslang to fix module imports
import { glslang } from '@javascribble/rollup-plugin-glslang';
export default {
...options,
plugins: [
glslang({
source: './',
target: './'
})
]
}