mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
radeonsi: don't call resource_copy_region in pipe->blit
It's slower because it forces preservation of NaNs. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28725>
This commit is contained in:
parent
26a5955821
commit
10ec468983
1 changed files with 0 additions and 10 deletions
|
|
@ -1268,16 +1268,6 @@ static void si_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
|
|||
if (unlikely(sctx->sqtt_enabled))
|
||||
sctx->sqtt_next_event = EventCmdCopyImage;
|
||||
|
||||
/* Using compute for copying to a linear texture in GTT is much faster than
|
||||
* going through RBs (render backends). This improves DRI PRIME performance.
|
||||
*/
|
||||
if (util_can_blit_via_copy_region(info, false, sctx->render_cond != NULL)) {
|
||||
si_resource_copy_region(ctx, info->dst.resource, info->dst.level,
|
||||
info->dst.box.x, info->dst.box.y, info->dst.box.z,
|
||||
info->src.resource, info->src.level, &info->src.box);
|
||||
return;
|
||||
}
|
||||
|
||||
if (si_compute_blit(sctx, info, false))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue