Missed a bit in dirty page removal.
This commit is contained in:
parent
ecdf9d81f6
commit
1bd36db421
|
@ -173,7 +173,7 @@ void DataFlowAnalysisPass::AnalyzeFlow(HIRBuilder* builder,
|
|||
builder->last_instr()->MoveBefore(block->instr_head);
|
||||
|
||||
// Swap uses of original value with the local value.
|
||||
auto instr = block->instr_head;
|
||||
instr = block->instr_head;
|
||||
while (instr) {
|
||||
uint32_t signature = instr->opcode->signature;
|
||||
if (GET_OPCODE_SIG_TYPE_SRC1(signature) == OPCODE_SIG_TYPE_V) {
|
||||
|
|
|
@ -30,10 +30,10 @@ int BufferResource::Prepare() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!dirtied_) {
|
||||
return 0;
|
||||
}
|
||||
dirtied_ = false;
|
||||
//if (!dirtied_) {
|
||||
// return 0;
|
||||
//}
|
||||
//dirtied_ = false;
|
||||
|
||||
// pass dirty regions?
|
||||
return InvalidateRegion(memory_range_);
|
||||
|
|
|
@ -305,10 +305,10 @@ int TextureResource::Prepare() {
|
|||
}
|
||||
}
|
||||
|
||||
if (!dirtied_) {
|
||||
return 0;
|
||||
}
|
||||
dirtied_ = false;
|
||||
//if (!dirtied_) {
|
||||
// return 0;
|
||||
//}
|
||||
//dirtied_ = false;
|
||||
|
||||
// pass dirty regions?
|
||||
return InvalidateRegion(memory_range_);
|
||||
|
|
Loading…
Reference in New Issue