diff options
author | Zack Rusin <[email protected]> | 2013-04-18 03:08:41 -0700 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-04-18 11:51:22 -0700 |
commit | 12eab7cc564a6928197f9b87ded9e368e56976f0 (patch) | |
tree | e4d157930258f4cfe4ab173cf178ea9b7e51478f /src/gallium/auxiliary/Makefile.sources | |
parent | e4752d0f56b90a5565936b1e05bb48edb1baa3ac (diff) |
draw: implement primitive assembler
Input assembler needs to be able to decompose adjacency primitives
into something that can be understood by the rest of the pipeline.
The specs say that the adjacency primitives are *only* visible
in the geometry shader, for everything else they need to be
decomposed. Which in most of the cases is not an issue, because
the geometry shader always decomposes them for us, but without
geometry shader we were passing unchanged adjacency primitives
to the rest of the pipeline and causing crashes everywhere. This
commit introduces a primitive assembler which, if geometry
shader is missing and the input primitive is one of the
adjacency primitives, decomposes them into something
that the rest of the pipeline can understand.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/Makefile.sources')
-rw-r--r-- | src/gallium/auxiliary/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index 79def217725..20ff5ba73ef 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -23,6 +23,7 @@ C_SOURCES := \ draw/draw_pipe_vbuf.c \ draw/draw_pipe_wide_line.c \ draw/draw_pipe_wide_point.c \ + draw/draw_prim_assembler.c \ draw/draw_pt.c \ draw/draw_pt_emit.c \ draw/draw_pt_fetch.c \ |