summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-03-29 04:50:32 -0700
committerZack Rusin <[email protected]>2013-04-03 10:16:25 -0700
commitd8543bd7528de05e5ce3ac407838e7500428a93d (patch)
tree92a46903a64aefda058173b22ecbdd444ca1cba2 /src/gallium/auxiliary/draw/draw_gs.h
parentf6bfb62c500c059464e66a4246a2e6089752d3db (diff)
draw: Implement support for primitive id
We were largely ignoring primitive id. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h
index 9c826485aba..7c841396aa2 100644
--- a/src/gallium/auxiliary/draw/draw_gs.h
+++ b/src/gallium/auxiliary/draw/draw_gs.h
@@ -95,6 +95,7 @@ struct draw_geometry_shader {
int **llvm_prim_lengths;
int *llvm_emitted_primitives;
int *llvm_emitted_vertices;
+ int *llvm_prim_ids;
#endif
void (*fetch_inputs)(struct draw_geometry_shader *shader,