mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 19:31:25 +00:00
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>
23 lines
413 B
HLSL
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);
|
|
}
|