Dzmitry Malyshau
02105db045
[spv-out] image queries ( #749 )
2021-04-23 12:31:33 -04:00
Dzmitry Malyshau
a2e5284f82
WGSL trailing commas ( #743 )
...
* [wgsl-in] typedef Span
* [wgsl-in] trailing comma for case list
* [wgsl-in] trailing comma for constructors
* Review fixes
2021-04-21 22:38:26 -04:00
Jim Blandy
0910af2718
[wgsl-in] Implement WGSL interpolate
syntax from gpuweb PR #1605 .
...
Fixes : #670
2021-04-19 09:42:00 -04:00
Lachlan Sneff
4cbef59dd6
Add struct instantiation support to wgsl-in ( #507 )
...
* Add struct instantiation support to wgsl-in
* Readd type matching and move struct test
* rebase onto master and update tests
* Update tests to upstream
* Fix merge errors
* Rebase onto master
* [wgsl-in] delay composite type creation
* Use the new WGSL construction syntax in the tests
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-17 01:14:07 -04:00
Dzmitry Malyshau
bb716f9c10
[spv-out] implement array value indexing ( #723 )
2021-04-16 17:11:18 -04:00
Ashley
285a855e19
Impl Hash
for msl::Options
( #716 )
...
* Impl `Hash` for `msl::Options`
* Remove ordered float
* [msl] derive everything on Options manually
* [msl] switch from Arena to Vec for the options
* Fix the clippy error by allowing derive_hash_xor_eq
* Fix skybox test
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2021-04-16 14:11:26 -04:00
Jim Blandy
2eb3e81e19
[wgsl-in] Add basic test for interpolate
attribute.
2021-04-15 17:19:20 -04:00
Dzmitry Malyshau
96f9cb4ce1
[wgsl] Add support for simplified vector construction, add a snapshot test
2021-04-14 19:26:20 -04:00
Dzmitry Malyshau
c8d26a1f47
Splat support for WGSL and SPV in/out, updated snapshots
2021-04-14 19:26:20 -04:00
Dzmitry Malyshau
270feb3c0f
[msl] map push constants to buffers
2021-04-13 01:31:57 -04:00
Mehmet Oguz Derin
142038c85b
WGSL: const
to let
2021-04-11 01:24:19 -04:00
Dzmitry Malyshau
e06451777e
[msl] address review comments, rename SubOptions to PipelineOptions, add more inlined states
2021-04-07 22:49:13 -04:00
Dzmitry Malyshau
499f2e3cbe
[msl] add a snapshot test for inline sampler
2021-04-07 22:49:13 -04:00
Dzmitry Malyshau
7c11759041
Re-use the MSL types in snapshot code
2021-04-07 22:49:13 -04:00
Dzmitry Malyshau
410c242daf
[spv-out] add a flag to adjust the coordinate space
2021-04-03 11:27:21 -04:00
Dzmitry Malyshau
db455af04b
Add a snapshot for image load/store ops
2021-04-01 10:47:28 -04:00
Dzmitry Malyshau
e47ff2dc26
[spv-in] support output interface block
2021-03-27 10:52:00 -04:00
Dzmitry Malyshau
7d042337e2
Align the block decoration with SPIR-V, require storage buffers
2021-03-25 12:34:25 -04:00
Dzmitry Malyshau
e87f57d82c
Fix expression validation check
2021-03-25 09:32:55 -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
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
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
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
61d711b58f
Remove the Header from IR
2021-02-14 20:23:31 -05:00
Dzmitry Malyshau
5b94ecd9b2
Add a snapshot for parsing spirv input
2021-02-08 15:59:47 -05:00
Joshua Groves
31be7099f2
Move snapshot inputs and outputs around
2021-02-07 18:16:26 -05:00