video_core: Reintroduce dirty flags infrastructure

This commit is contained in:
ReinUsesLisp
2019-12-26 22:14:10 -03:00
parent b92dfcd7f2
commit eed789d0d1
10 changed files with 72 additions and 1 deletions

View File

@ -38,6 +38,9 @@ void KeplerCompute::CallMethod(const GPU::MethodCall& method_call) {
case KEPLER_COMPUTE_REG_INDEX(data_upload): {
const bool is_last_call = method_call.IsLastCall();
upload_state.ProcessData(method_call.argument, is_last_call);
if (is_last_call) {
system.GPU().Maxwell3D().OnMemoryWrite();
}
break;
}
case KEPLER_COMPUTE_REG_INDEX(launch):