@mobecher/rollup-plugin-glslang

0.2.0 • Public • Published

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: './'
    })
  ]
}

Package Sidebar

Install

npm i @mobecher/rollup-plugin-glslang

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

6.87 kB

Total Files

6

Last publish

Collaborators

  • mobecher