mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-21 21:57:39 +01:00
[dxvk] Bump state cache format to v15
This commit is contained in:
parent
35fad0aa6c
commit
2fee959515
@ -105,7 +105,15 @@ namespace dxvk {
|
||||
return true;
|
||||
}
|
||||
|
||||
return read(data);
|
||||
if (!read(data))
|
||||
return false;
|
||||
|
||||
// Format hasn't changed, but we introduced
|
||||
// dynamic vertex strides in the meantime
|
||||
if (version < 15)
|
||||
data.setStride(0);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ namespace dxvk {
|
||||
*/
|
||||
struct DxvkStateCacheHeader {
|
||||
char magic[4] = { 'D', 'X', 'V', 'K' };
|
||||
uint32_t version = 14;
|
||||
uint32_t version = 15;
|
||||
uint32_t entrySize = 0; /* no longer meaningful */
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user