23 lines
284 B
Plaintext
23 lines
284 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void trunc_eb83df() {
|
||
|
float res = trunc(1.0f);
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
trunc_eb83df();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
trunc_eb83df();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
trunc_eb83df();
|
||
|
return;
|
||
|
}
|
||
|
|