0.2.0 • Published 3 years ago
@mobecher/rollup-plugin-glslang v0.2.0
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: './'
})
]
}
0.2.0
3 years ago