Commit Graph

611 Commits

Author SHA1 Message Date
Kristoffer Søholm
6c062087fa
Initial GLSL constant evaluation implementation (#94)
Adds constant evaluation for addition, and uses it for globals and array
specifiers.
2020-07-09 20:52:13 -04:00
Dzmitry Malyshau
4a769c10b5 [spv] remove the pointer indirection to variables 2020-07-05 09:33:07 -04:00
Dzmitry Malyshau
e0a1e80fb5 Remove spirv-headers use from IR, make it optional 2020-06-25 00:37:33 -04:00
Dzmitry Malyshau
6eecea5dad First bits of IR validation 2020-06-24 23:17:52 -04:00
Gabriel Majeri
84615eead3
Add support for return value to SPIR-V backend (#79)
* Add test for `glsl_phong_lighting`

* Implement `ReturnValue` op for SPIR-V backend
2020-06-22 16:11:40 +02: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
Dzmitry Malyshau
0de28d1656 [msl] operators, array access, and built-in calls 2020-03-15 23:59:49 -04:00
Dzmitry Malyshau
c467693253 Add quad -> MSL testing 2020-03-15 12:10:19 -04:00
Dzmitry Malyshau
1957b09c4d Add WGSL parsing tests 2020-03-15 11:43:08 -04:00