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
8ba1ff7789
dawn-cmake
/
test
/
tint
/
expressions
/
zero_init
/
vec2
/
i32.wgsl.expected.fxc.hlsl
9 lines
95 B
HLSL
Raw
Normal View
History
Unescape
Escape
test: Add test cases for zero value constructors Fixed: tint:477 Change-Id: I087c24904ab2f38524ab2c39092fbfb277fdba3b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55256 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-06-21 20:31:36 +00:00
[
numthreads
(
1
,
1
,
1
)
]
void
unused_entry_point
(
)
{
return
;
}
void
f
(
)
{
tint/writer/hlsl: Inline constant expressions This is required to handle materialized values, and for constant expressions. Bug: tint:1504 Change-Id: I79ad567954de2d1cfea09dda255894e4e2aa678e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92081 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-06-01 13:14:39 +00:00
int2
v
=
(
0
)
.
xx
;
test: Add test cases for zero value constructors Fixed: tint:477 Change-Id: I087c24904ab2f38524ab2c39092fbfb277fdba3b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/55256 Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
2021-06-21 20:31:36 +00:00
}