blob: 87932206da86533f8820a8c100de8a1a24bcc956 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
bool call_discard(thread bool* const tint_symbol) {
*(tint_symbol) = true;
return true;
}
fragment void f() {
thread bool tint_symbol_1 = false;
bool v = call_discard(&(tint_symbol_1));
bool also_unreachable = false;
if (tint_symbol_1) {
discard_fragment();
}
return;
}