mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 07:40:38 +02:00
freedreno: don't try to shadow layered textures
We will only hit this with multi-planar YUV external images, so we would probably never hit this code path in the first place. But if we did, it wouldn't do the right thing so just bail. Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
f88f025e8c
commit
3ebfc44b42
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ fd_try_shadow_resource(struct fd_context *ctx, struct fd_resource *rsc,
|
|||
struct pipe_resource *prsc = &rsc->base.b;
|
||||
bool fallback = false;
|
||||
|
||||
if (prsc->next)
|
||||
return false;
|
||||
|
||||
/* TODO: somehow munge dimensions and format to copy unsupported
|
||||
* render target format to something that is supported?
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue