yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ void DefineGenericOutput(EmitContext& ctx, size_t index, std::optional<u32> invo
.first_element = element, .first_element = element,
.num_components = num_components, .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; element += num_components;
} }
} }