diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-26 00:02:16 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-26 00:03:28 +0000 |
commit | 94b95cc2fc63457903a7b7b6eaa09bc27f25750c (patch) | |
tree | a8bdd1dbb1cb5f1381df4658c4c599fee2a0c5d3 /src/sna/gen4_vertex.h | |
parent | f095678125b25aeae80d838729a7f89d09007e10 (diff) |
sna/gen4+: Begin specialising vertex programs for ISA
Allow use of advanced ISA when available by detecting support at
runtime. This initial work just uses GCC to emit varying ISA, future
work could use hand written code for these hot spots.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen4_vertex.h')
-rw-r--r-- | src/sna/gen4_vertex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen4_vertex.h b/src/sna/gen4_vertex.h index 431b545e..1494ba14 100644 --- a/src/sna/gen4_vertex.h +++ b/src/sna/gen4_vertex.h @@ -10,7 +10,7 @@ void gen4_vertex_flush(struct sna *sna); int gen4_vertex_finish(struct sna *sna); void gen4_vertex_close(struct sna *sna); -unsigned gen4_choose_composite_emitter(struct sna_composite_op *tmp); -unsigned gen4_choose_spans_emitter(struct sna_composite_spans_op *tmp); +unsigned gen4_choose_composite_emitter(struct sna *sna, struct sna_composite_op *tmp); +unsigned gen4_choose_spans_emitter(struct sna *sna, struct sna_composite_spans_op *tmp); #endif /* GEN4_VERTEX_H */ |