diff options
author | Dave Airlie <[email protected]> | 2015-06-22 13:59:25 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-06-23 15:54:07 +1000 |
commit | 1a71fbe28ca0525b618f6fb9d7354f3a6589af2f (patch) | |
tree | 9b1ba492c69abd08667fde724ca9d77846ada0b9 /src/gallium/auxiliary/draw/draw_gs.c | |
parent | 40d225803ecfa805b4dea4ee0ebd04df00ca8827 (diff) |
draw/gallivm: add invocation ID support for llvmpipe.
This extends the draw code to add support for invocations.
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index 755e52793a8..a1564f93292 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -391,7 +391,8 @@ llvm_gs_run(struct draw_geometry_shader *shader, (struct vertex_header*)input, input_primitives, shader->draw->instance_id, - shader->llvm_prim_ids); + shader->llvm_prim_ids, + shader->invocation_id); return ret; } |