mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[spirv] Fix initial allocation size for compressed buffer
The old initial size was still for uint8.
This commit is contained in:
parent
ac3cd0b688
commit
da4baefdf0
@ -20,7 +20,7 @@ namespace dxvk {
|
||||
// the number of bytes it takes in the compressed buffer.
|
||||
// This way, it can achieve a compression ratio of ~50%.
|
||||
m_mask.reserve((m_size + NumMaskWords - 1) / NumMaskWords);
|
||||
m_code.reserve(m_size * 4);
|
||||
m_code.reserve((m_size + 1) / 2);
|
||||
|
||||
uint64_t dstWord = 0;
|
||||
uint32_t dstShift = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user