svga: set clear_texture to NULL for vgpu9
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: a1eabeff66 ("gallium: remove PIPE_CAP_CLEAR_TEXTURE")
Reviewed-by: Neha Bhende <bhenden@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24264>
This commit is contained in:
@@ -549,6 +549,6 @@ svga_clear_render_target(struct pipe_context *pipe,
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user