mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-15 17:45:58 +00:00
Bug: tint:1581 Change-Id: If0a74b1f6739725a2284678aab97baf737d96937 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101761 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Antonio Maiorano <amaiorano@google.com>
26 lines
296 B
HLSL
26 lines
296 B
HLSL
[numthreads(1, 1, 1)]
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
|
|
struct S {
|
|
int i;
|
|
};
|
|
|
|
void f() {
|
|
{
|
|
int i = 0;
|
|
[loop] while (true) {
|
|
if (true) {
|
|
break;
|
|
}
|
|
{
|
|
}
|
|
{
|
|
const S tint_symbol = {1};
|
|
i = (i + tint_symbol.i);
|
|
}
|
|
}
|
|
}
|
|
}
|