2021-07-12 16:11:41 +00:00
|
|
|
#include <metal_stdlib>
|
2021-07-12 12:28:52 +00:00
|
|
|
|
2021-07-12 16:11:41 +00:00
|
|
|
using namespace metal;
|
2021-12-03 21:58:53 +00:00
|
|
|
|
|
|
|
#if __METAL_VERSION__ >= 210
|
2022-03-21 16:09:17 +00:00
|
|
|
#define TINT_INVARIANT @invariant
|
2021-12-03 21:58:53 +00:00
|
|
|
#else
|
|
|
|
#define TINT_INVARIANT
|
|
|
|
#endif
|
|
|
|
|
2021-07-12 16:11:41 +00:00
|
|
|
struct tint_symbol_1 {
|
2021-12-03 21:58:53 +00:00
|
|
|
float4 value [[position]] TINT_INVARIANT;
|
2021-07-12 16:11:41 +00:00
|
|
|
};
|
|
|
|
|
2021-08-04 22:15:28 +00:00
|
|
|
float4 tint_symbol_inner() {
|
|
|
|
return float4();
|
|
|
|
}
|
|
|
|
|
2021-07-12 16:11:41 +00:00
|
|
|
vertex tint_symbol_1 tint_symbol() {
|
2021-08-04 22:15:28 +00:00
|
|
|
float4 const inner_result = tint_symbol_inner();
|
|
|
|
tint_symbol_1 wrapper_result = {};
|
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
2021-07-12 16:11:41 +00:00
|
|
|
}
|
2021-07-12 12:28:52 +00:00
|
|
|
|