Disabling paged resource caching for now, as it's broken.
This commit is contained in:
parent
295910c3d8
commit
6514eaa780
|
@ -30,9 +30,10 @@ int BufferResource::Prepare() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!dirtied_) {
|
||||
return 0;
|
||||
}
|
||||
// DISABLED
|
||||
//if (!dirtied_) {
|
||||
// return 0;
|
||||
//}
|
||||
dirtied_ = false;
|
||||
|
||||
// pass dirty regions?
|
||||
|
|
|
@ -118,6 +118,9 @@ void ResourceCache::SyncRange(uint32_t address, int length) {
|
|||
// will not be changing, which allows us to do a foreach(res) and reload
|
||||
// and then clear the table.
|
||||
|
||||
// DISABLED
|
||||
return;
|
||||
|
||||
// total bytes = (512 * 1024 * 1024) / (16 * 1024) = 32768
|
||||
// each byte = 1 page
|
||||
// Walk as qwords so we can clear things up faster.
|
||||
|
|
|
@ -292,9 +292,10 @@ int TextureResource::Prepare() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!dirtied_) {
|
||||
return 0;
|
||||
}
|
||||
// DISABLED
|
||||
//if (!dirtied_) {
|
||||
// return 0;
|
||||
//}
|
||||
dirtied_ = false;
|
||||
|
||||
// pass dirty regions?
|
||||
|
|
Loading…
Reference in New Issue