mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-03-03 08:10:03 +00: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…
x
Reference in New Issue
Block a user