diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-12 21:17:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-12 21:17:04 +0100 |
commit | 7ed66ca0fd1160ede890c216c35d4ac42a98ab57 (patch) | |
tree | 5a1c0d8aa4f971d895233cfe011da572de2f5d5e /src/sna/gen4_vertex.c | |
parent | f0d5dbe9bf0d507fd5b60bd7a90be09351f75249 (diff) |
sna: Remvoe unused code
sna_trapezoids_precise.c:566:1: warning: unused function
'polygon_add_line' [-Wunused-function]
gen4_vertex.c:3093:1: warning: unused function
'gen4_choose_spans_vertex_buffer' [-Wunused-function]
Reported-by: Zdenek Kabelac <zkabelac@redhat.com
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_vertex.c')
-rw-r--r-- | src/sna/gen4_vertex.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sna/gen4_vertex.c b/src/sna/gen4_vertex.c index 31044d69..7d757298 100644 --- a/src/sna/gen4_vertex.c +++ b/src/sna/gen4_vertex.c @@ -3089,14 +3089,6 @@ emit_span_boxes_linear__avx2(const struct sna_composite_spans_op *op, } #endif -inline static uint32_t -gen4_choose_spans_vertex_buffer(const struct sna_composite_op *op) -{ - int id = op->src.is_solid ? 1 : 2 + !op->src.is_affine; - DBG(("%s: id=%x (%d, 1)\n", __FUNCTION__, 1 << 2 | id, id)); - return 1 << 2 | id; -} - unsigned gen4_choose_spans_emitter(struct sna *sna, struct sna_composite_spans_op *tmp) { |