Skip to content

vdpau: Declare texture object as immutable using helper function.

Chris Rankin requested to merge rankinc/mesa:vdpau-immutable-fix into main

Use Mesa's _mesa_set_texture_view_state() helper function to declare the VDPAU texture object as immutable. This will also set all of the object's attributes correctly so that fbobject.c:check_level() no longer fails.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Fixes: #10618
Cc: mesa-stable
Edited by Chris Rankin

Merge request reports