2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

spirv: Fix output generics with components

This commit is contained in:
ReinUsesLisp 2021-05-30 20:45:05 -03:00 committed by ameerj
parent 1148a4eac7
commit adc43297c5

View file

@ -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;
}
}