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
db19adeb51
dawn-cmake
/
test
/
tint
/
samples
/
function.wgsl.expected.dxc....
9 lines
98 B
HLSL
Raw
Normal View
History
Unescape
Escape
test: Generate expected output for all tests The expected output is far from perfect, and the generated HLSL and MSL isn't even validated yet, so may be incorrect. However, by committing the generated output, we get clear examples of the currently generated output of each backend. As we land fixes and improvements to each backend, the presubmits will require us to update the expected test output, and so code reviews will include diffs of each backend's generated output. Change-Id: I5c2a9e5b796d0ab75b3ec4c7f8ad00a0a2ab166f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51224 Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: David Neto <dneto@google.com>
2021-05-18 09:24:18 +00:00
float
main
(
)
{
Generic template and forward in stringstream. This CL updates the templates in the StringStream to match more types. All of the internal `operator<<` methods have been converted over to StringStream. The precision was increased in order to better match the precision needed to read back as a double. Bug: tint:1686 Change-Id: Iaa15cf247f174967dd1014647ba5a74804997c22 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122080 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2023-03-02 21:28:45 +00:00
return
0.40000000596046447754f
;
test: Generate expected output for all tests The expected output is far from perfect, and the generated HLSL and MSL isn't even validated yet, so may be incorrect. However, by committing the generated output, we get clear examples of the currently generated output of each backend. As we land fixes and improvements to each backend, the presubmits will require us to update the expected test output, and so code reviews will include diffs of each backend's generated output. Change-Id: I5c2a9e5b796d0ab75b3ec4c7f8ad00a0a2ab166f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/51224 Commit-Queue: Ben Clayton <bclayton@chromium.org> Reviewed-by: David Neto <dneto@google.com>
2021-05-18 09:24:18 +00:00
}
[
numthreads
(
2
,
1
,
1
)
]
void
ep
(
)
{
return
;
}