2021-06-03 09:38:34 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
struct tint_symbol {
|
|
|
|
float value [[depth(any)]];
|
|
|
|
};
|
|
|
|
struct tint_symbol_1 {
|
|
|
|
uint value [[sample_mask]];
|
|
|
|
};
|
|
|
|
|
|
|
|
fragment tint_symbol main1() {
|
2021-06-03 18:12:15 +00:00
|
|
|
tint_symbol const tint_symbol_2 = {.value=1.0f};
|
2021-06-03 09:38:34 +00:00
|
|
|
return tint_symbol_2;
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment tint_symbol_1 main2() {
|
2021-06-03 18:12:15 +00:00
|
|
|
tint_symbol_1 const tint_symbol_3 = {.value=1u};
|
2021-06-03 09:38:34 +00:00
|
|
|
return tint_symbol_3;
|
|
|
|
}
|
|
|
|
|