Jasper St. Pierre
0995c7161e
[glsl-in] Keep around extra linkage variables
...
WGSL will require this. Note that this still might
cause some issues with multi-entry-point GLSL
that I didn't know how to handle. That is, we will
handle unused builtin inputs but not unused
builtin outputs correctly right now. This is an existing
issue though, not a regression.
This is also provided as an option, but I feel like
the more correct approach is to never strip linkage
variables. We'll see though.
2021-07-14 17:48:54 -04:00
pyrotechnick
1d1aea243f
Improve WGSL interpolation attributes ( #1083 )
...
* [wgsl-in] Map interpolate(..., center) to Sampling::Center
* [wgsl-out] Improve interpolation attributes
* [wgsl] Fix tests/in/interpolate.wgsl typo/format
* [wgsl] Snapshot WGSL artefacts
* [wgsl-out] Stack-only writing of interpolation
2021-07-13 21:57:52 -04:00
Gordon-F
ccf3fe9707
Fix type info of texture dimensions function with texture cube parameter
2021-07-13 17:28:09 -04:00
João Capucho
105a2ae5e1
[glsl-in] Check type dimensions in function calls
2021-07-07 12:59:20 -04:00
João Capucho
ee1004d443
[glsl-in] Use cast for implicit conversion
...
Previously this was a bitcast
2021-07-06 11:24:05 -04:00
João Capucho
2b475ecc96
[spv-out] Support object-wise select
2021-07-06 10:12:24 -04:00
Jasper St. Pierre
78e1304d42
[glsl-in] Convert bool -> scalar cast to Select
2021-07-02 01:34:34 -04:00
Jasper St. Pierre
cb8e9f2cad
[glsl-in] Implicitly splat the inputs of clamp()
2021-07-01 18:32:33 +01:00
João Capucho
2bb15eb0a8
[glsl-in] Add support for texture arguments
2021-07-01 11:19:28 -04:00
Gordon-F
925c92d12f
Add entry point to operators wgsl test
2021-06-29 09:49:00 -04:00
Gordon-F
a8119f005e
Add extra fragment entry point to wgsl quad snapshot
2021-06-24 10:47:17 -04:00
João Capucho
4bc4c60663
[glsl-in] Implicit casts for function calls
2021-06-19 13:58:21 -04:00
Gordon-F
6cdd332cef
Reorganize test snapshot folder
2021-06-19 10:19:04 -04:00