mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 06:10:05 +00: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,
|
.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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user