With PIPE_CAP_CLEAR_TEXTURE removed, we need to set clear_texture to NULL
on svga vgpu9 device so it can use the fallback path.
Fixes:
a1eabeff660 ("gallium: remove PIPE_CAP_CLEAR_TEXTURE")
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24264>
void svga_init_clear_functions(struct svga_context *svga)
{
svga->pipe.clear_render_target = svga_clear_render_target;
- svga->pipe.clear_texture = svga_clear_texture;
+ svga->pipe.clear_texture = svga_have_vgpu10(svga) ? svga_clear_texture : NULL;
svga->pipe.clear = svga_clear;
}