Dzmitry Malyshau
|
06d777b609
|
Make layout validation optional, disable the struct size check
|
2021-03-24 21:03:00 -04:00 |
|
Dzmitry Malyshau
|
7a246f6a14
|
Validate image queries and valid shader stages for derivatives
|
2021-03-24 12:32:32 -04:00 |
|
Dzmitry Malyshau
|
8712020115
|
Move Layouter into ModuleInfo
|
2021-03-23 10:11:50 -04:00 |
|
Dzmitry Malyshau
|
970b77abaf
|
Make type a part of ExpressionInfo
|
2021-03-22 15:17:00 -04:00 |
|
Dzmitry Malyshau
|
e3ae5904ba
|
Move AnalysisFlags into ValidationFlags, add bits for expressions and blocks
|
2021-03-20 22:25:49 -04:00 |
|
Dzmitry Malyshau
|
c992e638fe
|
Move all the validation into a separate meta-module
|
2021-03-20 22:25:49 -04:00 |
|
Dzmitry Malyshau
|
caee860b70
|
Make uniformity analysis optional
|
2021-03-20 22:25:49 -04:00 |
|
Dzmitry Malyshau
|
c2f70aaf80
|
Validate binary expressions
|
2021-03-19 10:39:54 -04:00 |
|
Dzmitry Malyshau
|
dd2cd92331
|
[msl-out] fix varying input structures
|
2021-03-17 16:59:23 -04:00 |
|
Dzmitry Malyshau
|
9390aa472d
|
[glsl-out] make varying names to match
|
2021-03-17 10:37:10 -04:00 |
|
Gordon-F
|
6736bcefa6
|
[glsl-out] Explicitly set location bindings
|
2021-03-17 09:40:06 -04:00 |
|
Dzmitry Malyshau
|
665ac49a01
|
Show expression uniformity in the Dot backend
|
2021-03-17 01:03:00 -04:00 |
|
Dzmitry Malyshau
|
08eaad89db
|
Implement default layout in the IR and WGSL
|
2021-03-15 22:27:35 -04:00 |
|
Dzmitry Malyshau
|
20979b4800
|
[wgsl] type inference for constants
|
2021-03-15 01:31:57 -04:00 |
|
Dzmitry Malyshau
|
ebcd815250
|
Update IR to have entry points with inputs/outputs
|
2021-03-13 23:26:19 -05:00 |
|
Dzmitry Malyshau
|
58a4e330dc
|
[glsl-out] fix cached expressions
|
2021-03-13 11:52:23 -05:00 |
|
Dzmitry Malyshau
|
7ebd96b597
|
Fix uniformity requirements of emitted expressions
|
2021-03-12 16:21:08 -05:00 |
|
Dzmitry Malyshau
|
dd273e254a
|
Distinguish between expression uniformity and function uniformity
|
2021-03-11 10:14:47 -05:00 |
|
Igor Shaposhnik
|
25fe522423
|
[glsl-out] Properly write array type
|
2021-03-10 15:17:07 -05:00 |
|
Dzmitry Malyshau
|
f5ee791912
|
More error information for uniformity analysis
|
2021-03-09 22:54:03 -05:00 |
|
Dzmitry Malyshau
|
e7c1415ca4
|
[spv-in] really consider variables as pointers
|
2021-03-09 10:10:10 -05:00 |
|
Dzmitry Malyshau
|
13d7a353e0
|
Switch entry points from map to a vec
|
2021-03-07 12:11:49 -05:00 |
|
Dzmitry Malyshau
|
dd823a4b84
|
Enforce pointer semantics at the type level.
|
2021-03-06 11:01:14 -05:00 |
|
Igor Shaposhnik
|
d1c47d1705
|
[glsl-out] Set precision for image type
|
2021-03-05 23:10:16 -05:00 |
|
Igor Shaposhnik
|
50e5904add
|
[glsl-out] Fix statement indentation
|
2021-03-04 10:03:39 -05:00 |
|
Joshua Groves
|
667f01ce17
|
[wgsl-in] Add descriptions for more errors
|
2021-03-04 00:10:58 -05:00 |
|
Dzmitry Malyshau
|
3fcc0759ed
|
GraphViz backend
|
2021-03-03 21:20:12 -05:00 |
|
Dzmitry Malyshau
|
89e37d6e90
|
Explicitly emit expressions by Statement::Emit
|
2021-03-02 21:50:06 -05:00 |
|
Igor Shaposhnik
|
6e37f336bd
|
[glsl-out] Set workgroup_size for compute shaders
|
2021-03-02 14:26:01 -05:00 |
|
Dzmitry Malyshau
|
69bf7f5f17
|
Miscellaneous fixes
|
2021-03-01 09:35:29 -05:00 |
|
Matúš Talčík
|
34c549d49d
|
spv-in flow: fix loop
|
2021-03-01 09:27:44 -05:00 |
|
Joshua Groves
|
bb7105387d
|
[wgsl-in] Use codespan to report errors
|
2021-02-28 00:07:37 -05:00 |
|
Dzmitry Malyshau
|
0cefc1c46c
|
Remove mutation from the Call expression
|
2021-02-22 23:37:26 -05:00 |
|
Dzmitry Malyshau
|
694a00afcb
|
[spv-out] optimize if/else branching
|
2021-02-22 10:11:36 -05:00 |
|
Joshua Groves
|
ce84b1d1c0
|
[wgsl] Add parser error snapshot
|
2021-02-22 01:17:15 -05:00 |
|
Dzmitry Malyshau
|
99c1add358
|
[msl] fake bindings
|
2021-02-19 19:20:21 -05:00 |
|
João Capucho
|
19e7f456c4
|
Remove the call graph processor
Uses the GlobalUse in glsl-out to check for function availability
|
2021-02-18 11:43:18 -05:00 |
|
Dzmitry Malyshau
|
5f21cf360f
|
Refactor snapshot testing to include some IR
|
2021-02-18 10:19:25 -05:00 |
|
Dzmitry Malyshau
|
8a0382a89d
|
Move global use flags into FunctionInfo
|
2021-02-17 15:37:37 -05:00 |
|
Pelle Johnsen
|
408002815f
|
[glsl-in] Multi entry points - address comments
|
2021-02-17 10:05:40 -05:00 |
|
Pelle Johnsen
|
1861fca4ba
|
[glsl-in] Support multiple entrypoints
|
2021-02-17 10:05:40 -05:00 |
|
Dzmitry Malyshau
|
6d0c608626
|
[glsl-out] use existing Analysis instead of implementing Visitor
|
2021-02-15 11:13:11 -05:00 |
|
Dzmitry Malyshau
|
ad423124c0
|
Support constants in the naming processor
|
2021-02-14 20:43:50 -05:00 |
|
Dzmitry Malyshau
|
61d711b58f
|
Remove the Header from IR
|
2021-02-14 20:23:31 -05:00 |
|
Systemcluster
|
dcd269782a
|
[wgsl] restrict type casts to matching container types
|
2021-02-14 11:56:49 -05:00 |
|
Systemcluster
|
5de69f7276
|
Specify line endings in ron snapshot tests
|
2021-02-14 11:29:25 -05:00 |
|
Dzmitry Malyshau
|
c1fc5d6424
|
[msl] re-use expression results based on the analysis
|
2021-02-14 01:19:15 -05:00 |
|
Dzmitry Malyshau
|
eae40383d0
|
Add uniform control flow analysis to the validator
|
2021-02-14 01:19:15 -05:00 |
|
Dzmitry Malyshau
|
8183f4ff6f
|
[spv-out] annotate function and constant names
|
2021-02-13 19:37:54 -05:00 |
|
Dzmitry Malyshau
|
38f3c4eb19
|
[spv-in] support dynamic vector insert/extract
|
2021-02-11 10:58:52 -05:00 |
|