mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 09:58:05 +02:00
iris: Disable PIPE_CAP_PREFER_BACK_BUFFER_REUSE
This cap bit only affects DRI_PRIME setups. Since iris now uses the
blitter to perform dGPU -> iGPU copies asynchronously, it's better to
always use at least two backbuffers so the 3D engine can start rendering
the next frame during the copy.
See commit d17e752857 where this change
was made for radeonsi.
Acked-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13877>
This commit is contained in:
parent
e3cb620b55
commit
413ea503ba
1 changed files with 2 additions and 0 deletions
|
|
@ -259,6 +259,8 @@ iris_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
case PIPE_CAP_FENCE_SIGNAL:
|
||||
case PIPE_CAP_IMAGE_STORE_FORMATTED:
|
||||
return true;
|
||||
case PIPE_CAP_PREFER_BACK_BUFFER_REUSE:
|
||||
return false;
|
||||
case PIPE_CAP_FBFETCH:
|
||||
return BRW_MAX_DRAW_BUFFERS;
|
||||
case PIPE_CAP_FBFETCH_COHERENT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue