mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-26 21:51:20 -08:00
spirv: Fix output generics with components
This commit is contained in:
parent
1148a4eac7
commit
adc43297c5
@ -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 New Issue
Block a user