summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_context.c
diff options
context:
space:
mode:
authorNeha Bhende <[email protected]>2016-08-11 16:43:03 -0700
committerBrian Paul <[email protected]>2016-08-26 06:19:51 -0600
commit40557ae07c34bedba083ad142601c4cf8691a5a3 (patch)
treebe8bc9251d05846c05a35d789d7b3bbad61d7e5b /src/gallium/drivers/svga/svga_context.c
parent52d88b67be1dad07e1c5f4a6e1c5c13c70f0c937 (diff)
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 <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_context.c')
-rw-r--r--src/gallium/drivers/svga/svga_context.c1
1 files changed, 1 insertions, 0 deletions
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;