mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-20 15:40:30 +01:00
[amdgpu] libspirv: Fix pushRegion (#39)
This commit is contained in:
parent
8a5eb8e531
commit
8dd625ad9a
|
|
@ -344,11 +344,11 @@ public:
|
|||
std::memcpy(mData.data() + offset, other.data(),
|
||||
other.size() * sizeof(std::uint32_t));
|
||||
|
||||
for (auto &[id, def] : mIdDefs) {
|
||||
for (auto &[id, def] : other.mIdDefs) {
|
||||
mIdDefs[id] = offset + def;
|
||||
}
|
||||
|
||||
for (auto &[id, uses] : mIdUses) {
|
||||
for (auto &[id, uses] : other.mIdUses) {
|
||||
auto &idUses = mIdUses[id];
|
||||
idUses.reserve(idUses.size() + uses.size());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue