aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-01-31 17:23:11 -0700
committerBrian Paul <[email protected]>2014-02-03 12:40:13 -0700
commit4686f610b18a04bc6213ccadf7be1176bbda3e34 (patch)
treef3465d5134ec8c0d4f029f87d894f3ce2d6dff99 /src/gallium/drivers/svga/svga_tgsi.c
parent9bace99d77642f8fbd46b1f0be025ad758f83f5e (diff)
svga: refactor some shader code
Put common code in new svga_shader.c file. Considate separate vertex/ fragment shader ID generation. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.c')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.c b/src/gallium/drivers/svga/svga_tgsi.c
index 368f131c6b2..9aafd851264 100644
--- a/src/gallium/drivers/svga/svga_tgsi.c
+++ b/src/gallium/drivers/svga/svga_tgsi.c
@@ -381,11 +381,3 @@ svga_translate_vertex_program(const struct svga_vertex_shader *vs,
return svga_tgsi_translate(&vs->base, &key, PIPE_SHADER_VERTEX);
}
-
-
-void
-svga_destroy_shader_variant(struct svga_shader_variant *variant)
-{
- FREE((unsigned *) variant->tokens);
- FREE(variant);
-}