adamnemecek
0058ce5a7d
fixed bug where metal backend would make all switch cases fallthrough
2021-04-04 18:30:04 -04:00
bors[bot] and Dzmitry Malyshau
bb9f3ad990
[rs] Merge #839
...
839: Update naga to gfx-20 r=kvark a=kvark
See https://github.com/gfx-rs/wgpu/pull/1304
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-04 15:36:50 +00:00
Dzmitry Malyshau
b1bbaf38a2
[rs] Update naga to gfx-20
2021-04-04 11:36:13 -04:00
bors[bot] and Dzmitry Malyshau
11666be077
Merge #1304
...
1304: Update naga to gfx-20 r=kvark a=kvark
See https://github.com/gfx-rs/gfx/pull/3714
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-04-04 15:26:57 +00:00
Dzmitry Malyshau
0bd8526239
Update naga to gfx-20
2021-04-04 11:25:10 -04:00
Dzmitry Malyshau
0369ee181e
[spv-out] fix sampling from depth textures
2021-04-04 10:25:46 -04:00
Dzmitry Malyshau
a9bde26785
[spv-out] fix incorrect dummy result
2021-04-04 10:25:46 -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
ead052b773
[spv-in] add a flag to adjust the coordinate space
2021-04-03 11:27:21 -04:00
Dzmitry Malyshau
100c2f42ed
[spv-out] cache access index constants
2021-04-03 11:27:21 -04:00
Dzmitry Malyshau
5673603bab
[spv-out] flip position Y
2021-04-03 11:27:21 -04:00
Dzmitry Malyshau
ab54f683be
[spv-in] flip Y axis
2021-04-03 11:27:21 -04:00
Dzmitry Malyshau
4389a86787
Fix layout roundup
2021-04-03 00:41:32 -04:00
bors[bot] and adamnemecek
8a0bb3327a
Merge #1302
...
1302: removed autocapture from cargo.toml r=cwfitzgerald a=adamnemecek
Co-authored-by: adamnemecek <adamnemecek@gmail.com >
2021-04-02 19:46:35 +00:00
adamnemecek
af8b94c729
removed autocapture
2021-04-02 09:43:38 -07:00
Dzmitry Malyshau
d4d9d7814f
[msl-out] option to omit point size output
2021-04-02 00:19:52 -04:00
bors[bot] and adamnemecek
c45c56934f
[rs] Merge #835
...
835: frame capture r=kvark a=adamnemecek
Co-authored-by: adamnemecek <adamnemecek@gmail.com >
2021-04-01 20:28:21 +00:00
adamnemecek
99eccdff3d
[rs] frame capture
2021-04-01 13:25:59 -07:00
bors[bot] and adamnemecek
1f9958a88f
Merge #1301
...
1301: framecapture r=kvark a=adamnemecek
Co-authored-by: adamnemecek <adamnemecek@gmail.com >
2021-04-01 19:54:26 +00:00
adamnemecek
d91ad13482
framecapture
2021-04-01 12:51:50 -07:00
Dzmitry Malyshau
8ff27187d1
Fix matrix multiplication types
2021-04-01 15:49:37 -04:00
Dzmitry Malyshau
cbdfbed32e
[msl-out] move return value statement into a function
2021-04-01 15:45:08 -04:00
Dzmitry Malyshau
13c9356873
[msl-out] track put_block stack sizes
2021-04-01 15:45:08 -04:00
Dzmitry Malyshau
f8b3c597ff
[msl-out] move image size query into a separate method
2021-04-01 15:45:08 -04:00
bors[bot] and Connor Fitzgerald
3b8da5d6c2
[rs] Merge #829
...
829: Add Downlevel Infrastructure r=kvark a=cwfitzgerald
wgpu-rs frontend for https://github.com/gfx-rs/wgpu/pull/1297 .
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2021-04-01 15:59:54 +00:00
Connor Fitzgerald
4161cbb893
[rs] Add downlevel infrastructure
2021-04-01 11:53:16 -04:00
bors[bot] and Connor Fitzgerald
45f890c11c
Merge #1297
...
1297: Downlevel Infrastructure and Validate Compute Shader Presence r=kvark a=cwfitzgerald
**Connections**
Provides the core infrastructure for #1244 .
**Description**
Nothing too crazy in here. Includes the infrastructure and the beginnings of validation. Some of the properties can't easily be verified, but I will follow up with the rest of the low-hanging fruit in another PR.
**Testing**
Testing on https://github.com/gfx-rs/wgpu-rs/pull/829 .
Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com >
2021-04-01 15:50:23 +00:00
Connor Fitzgerald
3073a454ff
Update to flag-based downlevel bools
2021-04-01 11:48:09 -04:00
Dzmitry Malyshau
db455af04b
Add a snapshot for image load/store ops
2021-04-01 10:47:28 -04:00
Dzmitry Malyshau
6a5c7f10ad
[msl-out] cast image load/store coordinates to unsigned
2021-04-01 10:47:28 -04:00
Dzmitry Malyshau
af4d989f55
[msl-out] copy array elements one by one
2021-04-01 10:26:59 -04:00
Dzmitry Malyshau
cf3a6da3ce
[msl] clean up emitted expressions at the end of a block
2021-04-01 10:26:59 -04:00
Dzmitry Malyshau
62fe72be2e
Enable all features for the docs
2021-04-01 10:26:00 -04:00
Dzmitry Malyshau
427d8dc1eb
[spv-in] pre-emit constant expressions
2021-03-31 23:17:19 -04:00
Dzmitry Malyshau
7a17da195c
[msl] use uint behind metal namespace only
2021-03-31 23:01:19 -04:00
bors[bot] and Dzmitry Malyshau
f997e8f9d3
[rs] Merge #826
...
826: Disable SPIRV-Cross by default r=cwfitzgerald a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-03-31 12:23:28 +00:00
Dzmitry Malyshau
84026d75ee
[rs] Disable SPIRV-Cross by default
2021-03-31 08:22:42 -04:00
Connor Fitzgerald
fca72f54f9
Validate compute shader's presence
2021-03-31 01:08:53 -04:00
Connor Fitzgerald
4db9a4522e
Add downlevel infrastructure
2021-03-31 01:08:48 -04:00
bors[bot] and Dy11on
4b7211a116
[rs] Merge #827
...
827: Fixed water example file section in the README.md r=cwfitzgerald a=Dy11on
Fixed the file section in the README.md for the water example, since it now uses wgsl
Co-authored-by: Dy11on <26803229+Dy11on@users.noreply.github.com >
2021-03-31 03:32:05 +00:00
Dy11on
79722cc395
[rs] Fixed water example file section in the README.md
2021-03-30 22:09:25 -04:00
bors[bot] and Dzmitry Malyshau
110efb8fe8
[rs] Merge #763
...
763: Port the water example shaders to WGSL r=cwfitzgerald a=kvark
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-03-31 01:39:05 +00:00
Dzmitry Malyshau
49a741a0c6
[rs] Update to gfx-19, port the water example shaders to WGSL
2021-03-30 21:36:49 -04:00
bors[bot] and Dzmitry Malyshau
41f106d7fc
Merge #1296
...
1296: Update gfx to the MSL entry point fix r=kvark a=kvark
See https://github.com/gfx-rs/gfx/pull/3705
Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com >
2021-03-31 01:26:36 +00:00
Dzmitry Malyshau
49c59ec063
Update gfx to the MSL entry point fix
2021-03-30 21:25:40 -04:00
bors[bot] and Gordon-F
be16c7f2f2
Merge #1294
...
1294: Update naga to gfx-19 r=kvark a=Gordon-F
Just a naga update. Also fix https://github.com/gfx-rs/wgpu/issues/1293 .
Co-authored-by: Gordon-F <ishaposhnik@icloud.com >
2021-03-30 23:34:59 +00:00
Gordon-F
7fc70bf349
Force-enable EXPERIMENTAL_TRANSLATION flag when running without cross feature
2021-03-31 02:01:43 +03:00
Gordon-F
124d5e3a7c
Update naga to gfx-19
2021-03-31 02:00:48 +03:00
Gordon-F
80a8243953
Fix Uint/Sint type conversion
2021-03-30 18:13:57 -04:00
Dzmitry Malyshau
7be524592a
[msl] fix mutability of function parameters
2021-03-30 15:43:53 -04:00