mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 03:35:56 +00:00
Bug: tint:1604 Change-Id: I7005188a1b3b03934c55e54dc94f548c016166d1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103983 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
19 lines
281 B
Plaintext
19 lines
281 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
kernel void tint_symbol(const constant int* tint_symbol_1 [[buffer(0)]]) {
|
|
switch(*(tint_symbol_1)) {
|
|
case 0: {
|
|
while (true) {
|
|
return;
|
|
}
|
|
break;
|
|
}
|
|
default: {
|
|
break;
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
|