summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2015-05-20 10:32:32 +1000
committerDave Airlie <[email protected]>2015-06-23 15:53:49 +1000
commit40d225803ecfa805b4dea4ee0ebd04df00ca8827 (patch)
treeac96f55468f2e78bb56ea17d6389e581d2b4e3d3 /src/gallium/auxiliary/draw/draw_gs.h
parent24e77cb09fda9a57d4a8288ced3e01df4c8ac280 (diff)
draw/tgsi: implement geom shader invocation support.
This is just for softpipe, llvmpipe won't work without some changes. Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h
index 49e93d55a51..663ba847cfe 100644
--- a/src/gallium/auxiliary/draw/draw_gs.h
+++ b/src/gallium/auxiliary/draw/draw_gs.h
@@ -90,6 +90,8 @@ struct draw_geometry_shader {
unsigned vector_length;
unsigned max_out_prims;
+ unsigned num_invocations;
+ unsigned invocation_id;
#ifdef HAVE_LLVM
struct draw_gs_inputs *gs_input;
struct draw_gs_jit_context *jit_context;