summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-04-26 14:19:36 +1000
committerDave Airlie <[email protected]>2016-04-27 08:56:17 +1000
commit6cf36a7231ac38f968ee518bfaf088a14a5d2548 (patch)
treea3072ed56f2d084aba3401ac545dc420f89dbeba /src/gallium/drivers
parent912ed84f83381330f0d616678878935cd2366293 (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/drivers')
-rw-r--r--src/gallium/drivers/softpipe/sp_fs_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c
index 155382af825..f1662bffdb5 100644
--- a/src/gallium/drivers/softpipe/sp_fs_exec.c
+++ b/src/gallium/drivers/softpipe/sp_fs_exec.c
@@ -130,7 +130,7 @@ exec_run( const struct sp_fragment_shader_variant *var,
machine->Face = (float) (quad->input.facing * -2 + 1);
machine->NonHelperMask = quad->inout.mask;
- quad->inout.mask &= tgsi_exec_machine_run( machine );
+ quad->inout.mask &= tgsi_exec_machine_run( machine, 0 );
if (quad->inout.mask == 0)
return FALSE;