summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs_exec.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-04-26 14:19:36 +1000
committerDave Airlie <airlied@redhat.com>2016-04-27 08:56:17 +1000
commit6cf36a7231ac38f968ee518bfaf088a14a5d2548 (patch)
treea3072ed56f2d084aba3401ac545dc420f89dbeba /src/gallium/auxiliary/draw/draw_vs_exec.c
parent912ed84f83381330f0d616678878935cd2366293 (diff)
downloadexternal_mesa3d-6cf36a7231ac38f968ee518bfaf088a14a5d2548.tar.gz
external_mesa3d-6cf36a7231ac38f968ee518bfaf088a14a5d2548.tar.bz2
external_mesa3d-6cf36a7231ac38f968ee518bfaf088a14a5d2548.zip
tgsi: accept a starting PC value for exec machine.
This will be used later to restart barriered execution threads in compute, for now we just want to change the API. Acked-by: Roland Scheidegger <sroland@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs_exec.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c
index fe6ad5b33d..483ee90f2a 100644
--- a/src/gallium/auxiliary/draw/draw_vs_exec.c
+++ b/src/gallium/auxiliary/draw/draw_vs_exec.c
@@ -163,7 +163,7 @@ vs_exec_run_linear( struct draw_vertex_shader *shader,
machine->NonHelperMask = (1 << max_vertices) - 1;
/* run interpreter */
- tgsi_exec_machine_run( machine );
+ tgsi_exec_machine_run( machine, 0 );
/* Unswizzle all output results.
*/