mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 20:50:09 +01:00
gallium/u_blit: bail out if src is a multisample texture
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
6b3f1ae12b
commit
9d1ef354f9
1 changed files with 6 additions and 0 deletions
|
|
@ -507,6 +507,12 @@ util_blit_pixels(struct blit_state *ctx,
|
|||
return;
|
||||
}
|
||||
|
||||
/* XXX Reading multisample textures is unimplemented. */
|
||||
assert(src_tex->nr_samples <= 1);
|
||||
if (src_tex->nr_samples > 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* It's a mistake to call this function with a stencil format and
|
||||
* without shader stencil export. We don't do software fallbacks here.
|
||||
* Ignore stencil and only copy depth.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue