diff options
author | Dave Airlie <[email protected]> | 2016-04-26 14:19:36 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-04-27 08:56:17 +1000 |
commit | 6cf36a7231ac38f968ee518bfaf088a14a5d2548 (patch) | |
tree | a3072ed56f2d084aba3401ac545dc420f89dbeba /src/gallium/auxiliary/draw | |
parent | 912ed84f83381330f0d616678878935cd2366293 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs_exec.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c index adba9316517..6cf8846627b 100644 --- a/src/gallium/auxiliary/draw/draw_gs.c +++ b/src/gallium/auxiliary/draw/draw_gs.c @@ -207,7 +207,7 @@ static unsigned tgsi_gs_run(struct draw_geometry_shader *shader, struct tgsi_exec_machine *machine = shader->machine; /* run interpreter */ - tgsi_exec_machine_run(machine); + tgsi_exec_machine_run(machine, 0); return machine->Temps[TGSI_EXEC_TEMP_PRIMITIVE_I].xyzw[TGSI_EXEC_TEMP_PRIMITIVE_C].u[0]; diff --git a/src/gallium/auxiliary/draw/draw_vs_exec.c b/src/gallium/auxiliary/draw/draw_vs_exec.c index fe6ad5b33d9..483ee90f2a4 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. */ |