Pelle Johnsen
6f0f551bac
New GLSL frontend using pomelo ( #87 )
...
* Add initial pomelo glsl work
* Fix ref to glsl_old
* Fix idents with numbers in lexer
* Use glsl_new for .vert in convert example
Controlled by PREFER_GLSL_NEW=1 env var
Also add simple test files
* Start making parser look like spec
* Port 'old' lex.rs to glsl_new
* Apply fixes after rebasing
* Fix clippy issue
* Fix PR comments
- Make into optional feature glsl-new
- Minor code style improvements
2020-06-30 10:42:50 -04:00
Dzmitry Malyshau
e0a1e80fb5
Remove spirv-headers use from IR, make it optional
2020-06-25 00:37:33 -04:00
Pelle Johnsen
ba0798e5d1
Add glsl handling to convert sample ( #69 )
...
* Add glsl handling to convert sample
- Also fis extension check for spv and wgsl (missing .)
* Use std::path::Path for ext handling
* Also fix ext for .comp
Missing from last commit
2020-06-17 09:34:35 -04:00
Dzmitry Malyshau
d55cd79a21
Minor improvements, expose Handle, move glsl module inside the dir.
2020-06-16 22:54:26 -04:00
Timo de Kort
82573b288b
Implement basic SPIR-V back-end ( #46 )
2020-06-15 16:01:00 -04:00
João Capucho
f94b486d8b
Run cargo fmt and enable monocodus ( #63 )
2020-06-09 14:49:12 -04:00
Dzmitry Malyshau
55fab04353
Refactor the interface processor, many improvements in global variables handling in MSL
2020-03-19 22:36:26 -04:00
Dzmitry Malyshau
df855bc2ff
Makefile and RON converter parameters
2020-03-19 09:44:14 -04:00
AIOOB
1ac92cd942
Fixup clippy lints and remove unsafe
2020-03-15 21:09:08 -04:00
Dzmitry Malyshau
d4fb81a005
[wgsl] basic typed constructors
2020-03-03 22:56:11 -05:00
Dzmitry Malyshau
aba9e8a0f2
Fixup metal type exports
2020-03-02 16:56:15 -05:00
Dzmitry Malyshau
246ca018ef
[tint] beginning of the front-end based on Pest ( #9 )
2020-02-28 13:05:24 -05:00
Dzmitry Malyshau
515f878fa2
Basic image sampling support
2020-02-26 17:10:42 -05:00
Dzmitry Malyshau
72ecd7b072
Parse decorations
2020-02-25 17:10:42 -05:00
Dzmitry Malyshau
96a12a0c9a
Complete the crate rename to Naga
2020-02-25 14:00:51 -05:00
Dzmitry Malyshau
763014cb43
[msl] write struct definitions
2020-02-24 18:49:19 -05:00
Dzmitry Malyshau
0e38eef82d
Restructure the project with frontends and backends
2020-02-21 08:23:44 -05:00
Dzmitry Malyshau
99f160ebce
First bits of hand-written high-level representation
2020-02-18 15:34:16 -05:00
Dzmitry Malyshau
ed96c2b8e0
Transpiler skeleton and first bits of MSL support
2018-09-12 21:29:03 -04:00