dawn-cmake/test/expressions/splat/expression/bool.wgsl.expected.hlsl
Ben Clayton 65cb20c1db test: Move 'splat' tests to expressions, split up
These are expressions, and not specific to `var`s.
Break the tests up into finer granularity.

Bug: tint:656
Change-Id: I6873407127871dfaec55d90f02e0490eef929a30
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56071
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2021-06-28 15:56:57 +00:00

23 lines
413 B
HLSL

[numthreads(1, 1, 1)]
void unused_entry_point() {
return;
}
void f() {
bool tint_tmp = true;
if (!tint_tmp) {
tint_tmp = false;
}
bool2 v2 = bool2(((tint_tmp)).xx);
bool tint_tmp_1 = true;
if (!tint_tmp_1) {
tint_tmp_1 = false;
}
bool3 v3 = bool3(((tint_tmp_1)).xxx);
bool tint_tmp_2 = true;
if (!tint_tmp_2) {
tint_tmp_2 = false;
}
bool4 v4 = bool4(((tint_tmp_2)).xxxx);
}