Dzmitry Malyshau
087b5555a6
Add tests for GLSL parsing
2020-12-13 00:41:23 -05:00
Dzmitry Malyshau
0efd6e75d7
[wgsl] update texture definitions and storage access
...
Add more tests, enhance the snapshot testing.
2020-12-12 12:46:24 -05:00
Dzmitry Malyshau
dafca34877
Add block boolean to the structure types in IR
...
Also update WGSL syntax for structures.
Move the boids code into snapshots.
2020-12-12 12:46:24 -05:00
Dzmitry Malyshau
b7744a1ec5
[wgsl] function lookup, improve error reporting
2020-12-10 10:20:56 -05:00
Joshua Groves
d71ebe2881
Add snapshots for function.wgsl
2020-12-10 00:24:07 -05:00
Joshua Groves
51cdb0403a
Add snapshots for simple.wgsl
2020-12-10 00:24:07 -05:00
Joshua Groves
9a625a570e
Add insta prototype
2020-12-10 00:24:07 -05:00
Dzmitry Malyshau
66d994566c
[spv] force treating the built-in scalar types as unsigned
2020-12-08 22:55:21 -05:00
Dzmitry Malyshau
5786aac9c4
[glsl] enable conversion testing for quad and boids
2020-12-08 09:25:59 -05:00
Dzmitry Malyshau
148fac0601
[spv] enable quad conversion test, refactor binary operations
2020-12-08 09:25:59 -05:00
Dzmitry Malyshau
31be5402bd
[spv] refactor the capability checks
2020-12-08 09:25:59 -05:00
Dzmitry Malyshau
d190c6441f
Add spv::write_vec helper.
2020-12-04 10:40:13 -05:00
Dzmitry Malyshau
529225ce4c
Option to dump spirv flow graphs ( #249 )
2020-10-30 16:44:59 -04:00
Dzmitry Malyshau
587dc01a2c
[msl] refactor the options, add override stages
2020-10-28 00:30:22 -04:00
Pelle Johnsen
78c9e45182
[glsl-in] Add initial pre-processor ( #238 )
...
* [glsl-in] Add initial pre-processor
* [glsl-in] Tweak preprocessor after review
- Add IfState struct
- Use FastHashMap to pre-defines
- Use ok-or() for some errors
* [glsl-in] Remove Option in defines arg
2020-10-15 13:38:02 -04:00
Dzmitry Malyshau
541d1dcb8b
Fix convert_phong_lighting test feature checks
2020-09-28 01:10:57 -04:00
Dzmitry Malyshau
14feb9ac01
Validation of global variables and entry points
2020-09-17 16:12:56 -04:00
Dzmitry Malyshau
081b90f117
Consolidate rosetta tests
2020-09-17 10:16:32 -04:00
Dzmitry Malyshau
2ebaadaf0c
Refactor entry point IR
2020-09-17 10:08:49 -04:00
Dzmitry Malyshau
d6cc17f051
Refactor feature names
2020-09-15 07:51:45 -04:00
Dzmitry Malyshau
089d0dd4f8
Minor fixes in feature checks ( #194 )
2020-09-13 21:03:00 -04:00
Dzmitry Malyshau
b278e10ea7
[spirv-in] make pointers totally transparent ( #187 )
2020-09-11 12:19:55 -04:00
Pelle Johnsen
2ea0310b63
[glsl] Promote glsl-new to glsl ( #184 )
...
* [glsl] Promote glsl-new to glsl
* [glsl-in] rename feature glsl > glsl-in
2020-09-10 01:11:52 -04:00
Matus Talcik
b67739034e
Implement Execution Modes ( #169 )
...
Add documentation, make clippy happy
Compilation errors
Add some more docs
Few more compilation errors
Changes based on the review
glsl-new parser fix
Set default local size to (0, 0, 0)
final cleanup
Last design
New design
2020-08-31 14:34:38 -04:00
Dzmitry Malyshau
1b17030d05
Split wgsl into sub-modules, and gate by a feature ( #165 )
2020-08-27 23:30:53 -04:00
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