Dzmitry Malyshau
4d4e1cd4cb
[spv] support GLSL's Distance
2020-11-12 12:38:35 -05:00
Dzmitry Malyshau
5e77653c55
[ir] select expression
2020-11-12 17:43:33 +01:00
Dzmitry Malyshau
8b56f3ef96
[ir] support function argument names ( #270 )
2020-11-11 21:34:37 +01:00
Dzmitry Malyshau
ac5e91b31a
Fix and refactor the constant array sizes
2020-11-11 08:02:06 -05:00
Dzmitry Malyshau
41b3865e5b
Make variable initializers to be const
2020-11-04 16:38:55 -05:00
Matúš Talčík
173bb0de42
spv-in: more loop fixes
2020-10-31 10:02:47 -04:00
Dzmitry Malyshau
80bdd23fd4
Add scalar_kind() accessor to IR Type ( #251 )
2020-10-30 21:25:55 -04:00
Matus Talcik
871139431a
spv-in: fix while loop traverse ( #253 )
2020-10-30 20:58:29 -04:00
Dzmitry Malyshau
529225ce4c
Option to dump spirv flow graphs ( #249 )
2020-10-30 16:44:59 -04:00
Matus Talcik
4b43e282fc
spv-in: fix flowgraph ( #247 )
...
Header blocks were incorrectly overwritten.
format
2020-10-29 10:43:12 -04:00
Dzmitry Malyshau
ce49afa391
Clean up the storage classes ( #245 )
2020-10-27 09:10:55 -04:00
Dzmitry Malyshau
c1830901c7
Simplify bitshift IR ( #244 )
2020-10-27 09:05:14 -04:00
Pelle Johnsen
6fb195cdc8
[clippy] Fix clippy issues after upgrading to 1.47 ( #237 )
...
* [clippy] disable match_like_matches_macro for now
* [wgsl-in] Return error instead of panic
* [typifier] Convert panics to return error
Still one panic in clone impl for Resolution,
disabled clippy for that one
* [spv-in] REturn error instead of panic'ing
* [spv-out] Return error instead of panic'ing
* [typifier] Use IncompatibleOperand(s) error
Instead of just Other
* [typifier] Use Expression for op in Error
For IncompatibleOperands
* [typifier] revert last commit
2020-10-13 17:14:40 -04:00
Timo de Kort
4420258001
[ir] Remove Matrix Kind from the IR ( #230 )
2020-10-06 17:19:29 -04:00
Dzmitry Malyshau
e57d877dbc
[spv] fix storage buffer detection
2020-09-28 10:15:35 -04:00
Dzmitry Malyshau
aa7005fdf3
[ir] Move scalar kind into the Sampled image class variant
2020-09-18 10:01:56 -04:00
Dzmitry Malyshau
2ebaadaf0c
Refactor entry point IR
2020-09-17 10:08:49 -04:00
Dzmitry Malyshau
f04a07c86c
proc: make typifier work with gaps in the type graph
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
Dzmitry Malyshau
e64f28375e
ir: bitcast expression
2020-09-10 13:19:17 -04:00
Dzmitry Malyshau
c122e064a7
Move storage class from image type into the global declaration ( #182 )
2020-09-09 13:59:29 -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
Matus Talcik
7a43c78e29
Add storage formats ( #167 )
...
Add GLSL backend
Add SPIR-V back + front
2020-08-28 14:55:30 -04:00
Matúš Talčík
447e2483f9
Format, clippy
...
pub(super)
2020-08-27 17:08:25 -04:00
Dzmitry Malyshau
bd9efe5915
Allow struct members without an origin
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
b5d99e133b
[spirv] fix binary operators, support more extensions
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
462c82fb71
As expressions
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
35e14378b3
[spirv] register function parameters, handle return values
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
cf6002be01
[spirv] dot product and a few more GLSL ops
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
4a61705201
Add matrix transposition expression
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
91a7bdf7e7
[spirv] handle LOD and BIAS image operands
2020-08-27 11:49:38 -04:00
Dzmitry Malyshau
58b35f13ba
[spirv] refactor builtin handling
2020-08-27 11:49:38 -04:00
Matus Talcik
df8364f92c
Add kill, unreachable + switch ( #156 )
2020-08-26 20:29:18 -04:00
Dzmitry Malyshau
4797773152
Image IR refactor ( #153 )
2020-08-26 13:26:51 -04:00
Matus Talcik
c12c9a9fac
init control flow graph ( #122 )
...
format
major refactor
Change spirv to spirv_headers
Remove files
First translation to naga + format
Fix Int Constant error
Don't add unnecessary blocks.
Some cleanups
format
remove constructs
docs
fix debug leftovers
format, clippy
satisfy clippy
2020-08-23 23:14:51 -04:00