mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 14:30:10 +01:00
st/vdpau: fix interop with GL
Fixes: e00bb6cb98 - mesa/st: use tracked samplerview swizzle values
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7751
Tested-By: Veerabadhran.Gopalakrishnan@amd.com
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19961>
This commit is contained in:
parent
4b19725ee5
commit
c70eec86ef
1 changed files with 1 additions and 0 deletions
|
|
@ -245,6 +245,7 @@ st_vdpau_map_surface(struct gl_context *ctx, GLenum target, GLenum access,
|
|||
_mesa_init_teximage_fields(ctx, texImage,
|
||||
res->width0, res->height0, 1, 0, GL_RGBA,
|
||||
texFormat);
|
||||
_mesa_update_texture_object_swizzle(ctx, texObj);
|
||||
|
||||
pipe_resource_reference(&texObj->pt, res);
|
||||
st_texture_release_all_sampler_views(st, texObj);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue