mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
cause a raster fallback if a yuv texture is used on texture unit > 0 as yuv conversion appears only to work on first unit.
This commit is contained in:
parent
02df36f394
commit
7998962444
1 changed files with 3 additions and 0 deletions
|
|
@ -1197,6 +1197,9 @@ static GLboolean update_tex_common( GLcontext *ctx, int unit )
|
|||
fprintf(stderr, "%s: border\n", __FUNCTION__);
|
||||
return GL_FALSE;
|
||||
}
|
||||
/* yuv conversion only works in first unit */
|
||||
if (unit != 0 && (t->pp_txfilter & RADEON_YUV_TO_RGB))
|
||||
return GL_FALSE;
|
||||
|
||||
/* Update state if this is a different texture object to last
|
||||
* time.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue