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
680f513bda
dawn-cmake
/
test
/
tint
/
expressions
/
bitcast
/
scalar
/
u32-i32.wgsl.expected.wgsl
6 lines
99 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
)
writer/hlsl: Support bitcast of vectors Add end to end tests Fixed: tint:1026 Change-Id: I10813cbe6dc4f1bccddf9a8a29e3a249a364c051 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/59663 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-07-26 15:08:28 +00:00
fn
f
(
)
{
let
a
:
u32
=
1u
;
let
b
:
i32
=
bitcast
<
i32
>
(
a
)
;
}