2021-06-29 13:36:05 +00:00
|
|
|
struct Interface {
|
|
|
|
int i;
|
|
|
|
uint u;
|
|
|
|
int4 vi;
|
|
|
|
uint4 vu;
|
|
|
|
float4 pos;
|
|
|
|
};
|
|
|
|
struct tint_symbol {
|
|
|
|
int i : TEXCOORD0;
|
|
|
|
uint u : TEXCOORD1;
|
|
|
|
int4 vi : TEXCOORD2;
|
|
|
|
uint4 vu : TEXCOORD3;
|
|
|
|
float4 pos : SV_Position;
|
|
|
|
};
|
|
|
|
|
|
|
|
tint_symbol vert_main() {
|
2021-07-02 19:27:42 +00:00
|
|
|
const Interface tint_symbol_1 = (Interface)0;
|
2021-06-29 18:05:25 +00:00
|
|
|
const tint_symbol tint_symbol_5 = {tint_symbol_1.i, tint_symbol_1.u, tint_symbol_1.vi, tint_symbol_1.vu, tint_symbol_1.pos};
|
|
|
|
return tint_symbol_5;
|
2021-06-29 13:36:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
struct tint_symbol_3 {
|
|
|
|
int i : TEXCOORD0;
|
|
|
|
uint u : TEXCOORD1;
|
|
|
|
int4 vi : TEXCOORD2;
|
|
|
|
uint4 vu : TEXCOORD3;
|
|
|
|
float4 pos : SV_Position;
|
|
|
|
};
|
2021-06-29 18:05:25 +00:00
|
|
|
struct tint_symbol_4 {
|
|
|
|
int value : SV_Target0;
|
|
|
|
};
|
2021-06-29 13:36:05 +00:00
|
|
|
|
2021-06-29 18:05:25 +00:00
|
|
|
tint_symbol_4 frag_main(tint_symbol_3 tint_symbol_2) {
|
2021-06-29 13:36:05 +00:00
|
|
|
const Interface inputs = {tint_symbol_2.i, tint_symbol_2.u, tint_symbol_2.vi, tint_symbol_2.vu, tint_symbol_2.pos};
|
2021-06-29 18:05:25 +00:00
|
|
|
const tint_symbol_4 tint_symbol_6 = {inputs.i};
|
|
|
|
return tint_symbol_6;
|
2021-06-29 13:36:05 +00:00
|
|
|
}
|