2021-09-02 13:49:59 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
2022-02-09 23:55:51 +00:00
|
|
|
constant int slen = 4;
|
|
|
|
|
|
|
|
constant uint ulen = 4u;
|
|
|
|
|
2021-09-02 13:49:59 +00:00
|
|
|
struct tint_array_wrapper {
|
|
|
|
float arr[4];
|
|
|
|
};
|
|
|
|
|
|
|
|
fragment void tint_symbol() {
|
|
|
|
tint_array_wrapper signed_literal = {};
|
|
|
|
tint_array_wrapper unsigned_literal = {};
|
|
|
|
tint_array_wrapper signed_constant = {};
|
|
|
|
tint_array_wrapper unsigned_constant = {};
|
|
|
|
signed_literal = unsigned_constant;
|
|
|
|
signed_constant = unsigned_literal;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|