23 lines
310 B
Plaintext
23 lines
310 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
void countOneBits_fd88b2() {
|
||
|
int res = popcount(1);
|
||
|
}
|
||
|
|
||
|
vertex void vertex_main() {
|
||
|
countOneBits_fd88b2();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
fragment void fragment_main() {
|
||
|
countOneBits_fd88b2();
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
kernel void compute_main() {
|
||
|
countOneBits_fd88b2();
|
||
|
return;
|
||
|
}
|
||
|
|