2021-06-03 09:38:34 +00:00
|
|
|
struct tint_symbol_1 {
|
|
|
|
uint vertex_index : SV_VertexID;
|
|
|
|
uint instance_index : SV_InstanceID;
|
|
|
|
};
|
|
|
|
struct tint_symbol_2 {
|
|
|
|
float4 value : SV_Position;
|
|
|
|
};
|
|
|
|
|
2021-08-04 22:15:28 +00:00
|
|
|
float4 main_inner(uint vertex_index, uint instance_index) {
|
2021-06-03 09:38:34 +00:00
|
|
|
const uint foo = (vertex_index + instance_index);
|
2022-06-01 13:14:39 +00:00
|
|
|
return (0.0f).xxxx;
|
2021-08-04 22:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tint_symbol_2 main(tint_symbol_1 tint_symbol) {
|
|
|
|
const float4 inner_result = main_inner(tint_symbol.vertex_index, tint_symbol.instance_index);
|
|
|
|
tint_symbol_2 wrapper_result = (tint_symbol_2)0;
|
|
|
|
wrapper_result.value = inner_result;
|
|
|
|
return wrapper_result;
|
2021-06-03 09:38:34 +00:00
|
|
|
}
|