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
a924ffe70c
dawn-cmake
/
test
/
expressions
/
binary
/
left-shift
/
scalar-scalar
/
u32.wgsl.expected.wgsl
7 lines
100 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
wgsl: Replace [[decoration]] with @decoration Deprecate the old syntax. Migrate everything to the new syntax. Bug: tint:1382 Change-Id: Ide12b2e927b17dc93b9714c7049090864cc568d3 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/77260 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: David Neto <dneto@google.com>
2022-01-19 22:46:57 +00:00
@
stage
(
compute
)
@
workgroup_size
(
1
)
Restore "MSL writer: make signed int overflow defined behaviour" This reverts commit e33b0baa088146fc06881387157a92e19fcf5b7b. Added tests/expressions/literals/intmin.wgsl test. Bug: tint:124 Change-Id: I3d46f939ff20fa377ddb5fcb52f9afe728b8e430 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/60441 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-07-30 18:59:06 +00:00
fn
f
(
)
{
let
a
=
1u
;
let
b
=
2u
;
let
r
:
u32
=
(
a
<
<
b
)
;
}