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
d794342ed5
dawn-cmake
/
test
/
tint
/
expressions
/
binary
/
add
/
scalar-scalar
/
f32.wgsl.expected.dxc.hlsl
6 lines
69 B
HLSL
Raw
Normal View
History
Unescape
Escape
test: Split binary_expressions into separate tests Tests should be as fine-grained as possible. Not all the permutations were covered. Not all the backends were actually generating anything useful, as the functions were not called by an entry point. Change-Id: I76658533d3112d202f7482a19531079550e66f83 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58392 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-07-17 17:38:46 +00:00
[
numthreads
(
1
,
1
,
1
)
]
void
f
(
)
{
tint: const eval of binary add Bug: tint:1581 Change-Id: Ie34ee52bdd4a4c5d45a5f6c0d8d923cc690c8b2c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/98021 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-08-04 19:48:27 +00:00
const
float
r
=
3.0f
;
test: Split binary_expressions into separate tests Tests should be as fine-grained as possible. Not all the permutations were covered. Not all the backends were actually generating anything useful, as the functions were not called by an entry point. Change-Id: I76658533d3112d202f7482a19531079550e66f83 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58392 Auto-Submit: Ben Clayton <bclayton@google.com> Commit-Queue: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
2021-07-17 17:38:46 +00:00
return
;
}