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
eab404cb17
dawn-cmake
/
test
/
tint
/
builtins
/
gen
/
literal
/
fwidth
/
df38ef.wgsl.expected.wgsl
9 lines
107 B
WebGPU Shading Language
Raw
Normal View
History
Unescape
Escape
[tools]: Generate intrinisic test cases Add test/intrinsics/intrinsics.wgsl.tmpl that generates a vast set of intrinsic overload permutations into test/intrinsics/gen/... Add expected output for all of these, including 'SKIP' headers for those that currently fail. Fixed: tint:832 Change-Id: Id6888df52c07f35e7a55199f2ad4d842c6e2595c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53051 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-06-03 11:26:17 +00:00
fn
fwidth_df38ef
(
)
{
var
res
:
f32
=
fwidth
(
1.0
)
;
}
Update src/tint unittests to new @stage format. This CL updates all of the Tint unittests to the new @stage shorter syntax. This also updates the WGSL writer to emit the new short forms instead of using the deprecated form. Bug: tint:1503 Change-Id: I8c49e5319a19cccb5b4b5078f3ab39c50f31a9a8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92483 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com>
2022-06-07 13:55:34 +00:00
@
fragment
[tools]: Generate intrinisic test cases Add test/intrinsics/intrinsics.wgsl.tmpl that generates a vast set of intrinsic overload permutations into test/intrinsics/gen/... Add expected output for all of these, including 'SKIP' headers for those that currently fail. Fixed: tint:832 Change-Id: Id6888df52c07f35e7a55199f2ad4d842c6e2595c Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/53051 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-06-03 11:26:17 +00:00
fn
fragment_main
(
)
{
fwidth_df38ef
(
)
;
}