mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 06:03:34 +00:00
Fix more edge cases uncovered with tint:1781 Fixed: tint:1781 Change-Id: I58d120185f47c10bc9fe55dd95a198d496c4ec94 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113024 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com>
10 lines
153 B
Plaintext
10 lines
153 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
void f() {
|
|
int i = 0;
|
|
for(; false; i = as_type<int>((as_type<uint>(i) + as_type<uint>(1)))) {
|
|
}
|
|
}
|
|
|