mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 09:12:46 +01:00
spirv: Fix output generics with components
This commit is contained in:
parent
1148a4eac7
commit
adc43297c5
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ void DefineGenericOutput(EmitContext& ctx, size_t index, std::optional<u32> invo
|
|||
.first_element = element,
|
||||
.num_components = num_components,
|
||||
};
|
||||
std::fill_n(ctx.output_generics[index].begin(), num_components, info);
|
||||
std::fill_n(ctx.output_generics[index].begin() + element, num_components, info);
|
||||
element += num_components;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue