2022-12-08 20:45:54 +00:00
|
|
|
int vec4f() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
float vec2f(int i) {
|
|
|
|
return float(i);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool vec2i(float f) {
|
|
|
|
return bool(f);
|
|
|
|
}
|
|
|
|
|
2023-03-02 20:48:48 +00:00
|
|
|
struct tint_symbol_6 {
|
2022-12-08 20:45:54 +00:00
|
|
|
uint VertexIndex : SV_VertexID;
|
|
|
|
};
|
2023-03-02 20:48:48 +00:00
|
|
|
struct tint_symbol_7 {
|
2022-12-08 20:45:54 +00:00
|
|
|
float4 value : SV_Position;
|
|
|
|
};
|
|
|
|
|
|
|
|
float4 main_inner(uint VertexIndex) {
|
2023-03-02 20:48:48 +00:00
|
|
|
const float4 tint_symbol = (0.0f).xxxx;
|
|
|
|
const float4 tint_symbol_1 = (1.0f).xxxx;
|
|
|
|
const int tint_symbol_2 = vec4f();
|
|
|
|
const float tint_symbol_3 = vec2f(tint_symbol_2);
|
|
|
|
const bool tint_symbol_4 = vec2i(tint_symbol_3);
|
|
|
|
return (tint_symbol_4 ? tint_symbol_1 : tint_symbol);
|
2022-12-08 20:45:54 +00:00
|
|
|
}
|
|
|
|
|
2023-03-02 20:48:48 +00:00
|
|
|
tint_symbol_7 main(tint_symbol_6 tint_symbol_5) {
|
|
|
|
const float4 inner_result = main_inner(tint_symbol_5.VertexIndex);
|
|
|
|
tint_symbol_7 wrapper_result = (tint_symbol_7)0;
|
2022-12-08 20:45:54 +00:00
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
|
|
|
}
|