resource_tracking_pass: Persist image resource atomic designation. (#2158)

This commit is contained in:
squidbus 2025-01-16 02:36:41 -08:00 committed by GitHub
parent b3739bea92
commit da2b58f66e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,6 +164,7 @@ public:
return desc.sharp_idx == existing.sharp_idx && desc.is_array == existing.is_array; return desc.sharp_idx == existing.sharp_idx && desc.is_array == existing.is_array;
})}; })};
auto& image = image_resources[index]; auto& image = image_resources[index];
image.is_atomic |= desc.is_atomic;
image.is_written |= desc.is_written; image.is_written |= desc.is_written;
return index; return index;
} }