mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-13 19:29:14 +01:00
[util] Set m_size in small_vector::resize
Turns out this has been broken since it was added, meaning isViewCompatible has always returned false putting us down slow paths for UAV clears + copies for the past two years.
This commit is contained in:
parent
c1cb4d9d18
commit
ac2d3e952d
@ -57,6 +57,8 @@ namespace dxvk {
|
||||
|
||||
for (size_t i = m_size; i < n; i++)
|
||||
new (ptr(i)) T();
|
||||
|
||||
m_size = n;
|
||||
}
|
||||
|
||||
void push_back(const T& object) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user