mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
freedreno: mark imported resources as valid
If someone is importing a buffer, we can't really know the state of it's contents, so assume it is valid. Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
parent
11583dc655
commit
05f5122d4a
1 changed files with 2 additions and 0 deletions
|
|
@ -1096,6 +1096,8 @@ fd_resource_from_handle(struct pipe_screen *pscreen,
|
|||
/* failure is expected in some cases.. */
|
||||
}
|
||||
|
||||
rsc->valid = true;
|
||||
|
||||
return prsc;
|
||||
|
||||
fail:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue