aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-12-05 17:18:30 -0700
committerBrian Paul <[email protected]>2012-12-06 07:48:53 -0700
commit52b02cc6767ab5fe5fb2709147a4a06b3a15f3dc (patch)
tree7798de447d8908563e207074b8f9b8526360a096 /src/gallium/auxiliary/draw/draw_gs.c
parent45a01cba907f3d260b14b79285449eb81cc02285 (diff)
draw: remove some dead constant buffer code
Remove the draw_vs_set_constants() and draw_gs_set_constants() functions and the draw->vs.aligned_constants, draw->vs.aligned_constant_storage and draw->vs.const_storage_size fields. None of it was used. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c
index 3b3ff21c6f7..5c5552394e8 100644
--- a/src/gallium/auxiliary/draw/draw_gs.c
+++ b/src/gallium/auxiliary/draw/draw_gs.c
@@ -69,19 +69,6 @@ void draw_gs_destroy( struct draw_context *draw )
tgsi_exec_machine_destroy(draw->gs.tgsi.machine);
}
-void
-draw_gs_set_constants(struct draw_context *draw,
- unsigned slot,
- const void *constants,
- unsigned size)
-{
- /* noop. added here for symmetry with the VS
- * code and in case we'll ever want to allign
- * the constants, e.g. when we'll change to a
- * different interpreter */
-}
-
-
struct draw_geometry_shader *
draw_create_geometry_shader(struct draw_context *draw,
const struct pipe_shader_state *state)