From 40557ae07c34bedba083ad142601c4cf8691a5a3 Mon Sep 17 00:00:00 2001 From: Neha Bhende Date: Thu, 11 Aug 2016 16:43:03 -0700 Subject: svga: add svga_init_clear_functions() define svga_init_clear_functions() and svga_clear_texture as svga->pipe.clear_texture. This is part of ARB_clear_texture extension Reviewed-by: Brian Paul Reviewed-by: Charmaine Lee --- src/gallium/drivers/svga/svga_context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/svga/svga_context.c') diff --git a/src/gallium/drivers/svga/svga_context.c b/src/gallium/drivers/svga/svga_context.c index cbc312edbde..04acc0022bf 100644 --- a/src/gallium/drivers/svga/svga_context.c +++ b/src/gallium/drivers/svga/svga_context.c @@ -164,6 +164,7 @@ struct pipe_context *svga_context_create(struct pipe_screen *screen, svga_init_query_functions(svga); svga_init_surface_functions(svga); svga_init_stream_output_functions(svga); + svga_init_clear_functions(svga); /* init misc state */ svga->curr.sample_mask = ~0; -- cgit v1.2.3