mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-18 22:00:25 +01:00
zink: fix dmabuf cap export
this requires a lot more than just one extension Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11967>
This commit is contained in:
parent
9ec9289385
commit
f54cde75d7
1 changed files with 1 additions and 1 deletions
|
|
@ -650,7 +650,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return MIN2(screen->info.props.limits.maxVertexOutputComponents / 4 / 2, 16);
|
||||
|
||||
case PIPE_CAP_DMABUF:
|
||||
return screen->info.have_KHR_external_memory_fd;
|
||||
return screen->info.have_KHR_external_memory_fd && screen->info.have_EXT_external_memory_dma_buf && screen->info.have_EXT_queue_family_foreign;
|
||||
|
||||
case PIPE_CAP_DEPTH_BOUNDS_TEST:
|
||||
return screen->info.feats.features.depthBounds;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue