Skip to content
Snippets Groups Projects
Commit 05f5122d authored by Rob Clark's avatar Rob Clark :speech_balloon:
Browse files

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: default avatarRob Clark <robdclark@chromium.org>
parent 11583dc6
No related branches found
No related tags found
No related merge requests found
...@@ -1096,6 +1096,8 @@ fd_resource_from_handle(struct pipe_screen *pscreen, ...@@ -1096,6 +1096,8 @@ fd_resource_from_handle(struct pipe_screen *pscreen,
/* failure is expected in some cases.. */ /* failure is expected in some cases.. */
} }
rsc->valid = true;
return prsc; return prsc;
fail: fail:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment