12 lines
332 B
Plaintext
12 lines
332 B
Plaintext
#include <metal_stdlib>
|
|
|
|
using namespace metal;
|
|
fragment void tint_symbol(float4 position [[position]], bool front_facing [[front_facing]], uint sample_index [[sample_id]], uint sample_mask [[sample_mask]]) {
|
|
if (front_facing) {
|
|
float4 const foo = position;
|
|
uint const bar = (sample_index + sample_mask);
|
|
}
|
|
return;
|
|
}
|
|
|