mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
intel: Remove a never-taken debug print path.
Alessandro Pignotti noted when I added this code in commit
0e723b135b that it's in the else block for
"if (busy)", so this debug print couldn't happen.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
c34bbe110d
commit
9dd19575d3
1 changed files with 0 additions and 5 deletions
|
|
@ -227,11 +227,6 @@ intel_bufferobj_subdata(struct gl_context * ctx,
|
|||
drm_intel_bo_unreference(temp_bo);
|
||||
}
|
||||
} else {
|
||||
if (unlikely(intel->perf_debug)) {
|
||||
if (drm_intel_bo_busy(intel_obj->buffer)) {
|
||||
perf_debug("Stalling on the GPU in glBufferSubData().\n");
|
||||
}
|
||||
}
|
||||
drm_intel_bo_subdata(intel_obj->buffer, offset, size, data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue