This website requires JavaScript.
Explore
Help
Sign In
encounter
/
dawn-cmake
mirror of
https://github.com/encounter/dawn-cmake.git
Watch
1
Star
0
Fork
You've already forked dawn-cmake
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
cce5f48f0e
dawn-cmake
/
test
/
tint
/
shader_io
/
compute_workgroup_expressio...
6 lines
101 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
Run substitute_overrides for all tests. This CL updates all of the integration tests to run the substitute_override transform where needed. The test runner is updated to match comments in the spvasm files as well as the wgsl files. Bug: tint:1155 Change-Id: I8187d426970d056d744e530ed6447e4ec69db5f4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101661 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-09 16:04:39 +00:00
const
x_dim
=
2
;
Update `workgroup_size` to use `expression`. This CL updates the `workgroup_size` attribute to use `expression` values instead of `primary_expression`. Bug: tint:1633 Change-Id: I0afbabd8ee61943469f04a55d56f85920563e2da Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99960 Reviewed-by: Ben Clayton <bclayton@chromium.org> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
2022-08-24 21:31:45 +00:00
@
compute
@
workgroup_size
(
(
1
+
2
)
,
x_dim
,
clamp
(
(
(
1
-
2
)
+
4
)
,
0
,
5
)
)
fn
main
(
)
{
}